function _E(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function js(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var EE={exports:{}},p0={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var hT=Symbol.for("react.transitional.element"),dT=Symbol.for("react.fragment");function wE(e,t,r){var n=null;if(r!==void 0&&(n=""+r),t.key!==void 0&&(n=""+t.key),"key"in t){r={};for(var a in t)a!=="key"&&(r[a]=t[a])}else r=t;return t=r.ref,{$$typeof:hT,type:e,key:n,ref:t!==void 0?t:null,props:r}}p0.Fragment=dT;p0.jsx=wE;p0.jsxs=wE;EE.exports=p0;var Jn=EE.exports;const Iv=js(Jn);var SE={exports:{}},ke={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var jp=Symbol.for("react.transitional.element"),pT=Symbol.for("react.portal"),mT=Symbol.for("react.fragment"),vT=Symbol.for("react.strict_mode"),gT=Symbol.for("react.profiler"),xT=Symbol.for("react.consumer"),yT=Symbol.for("react.context"),_T=Symbol.for("react.forward_ref"),ET=Symbol.for("react.suspense"),wT=Symbol.for("react.memo"),bE=Symbol.for("react.lazy"),ST=Symbol.for("react.activity"),Hv=Symbol.iterator;function bT(e){return e===null||typeof e!="object"?null:(e=Hv&&e[Hv]||e["@@iterator"],typeof e=="function"?e:null)}var TE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},FE=Object.assign,AE={};function Is(e,t,r){this.props=e,this.context=t,this.refs=AE,this.updater=r||TE}Is.prototype.isReactComponent={};Is.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Is.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function OE(){}OE.prototype=Is.prototype;function Ip(e,t,r){this.props=e,this.context=t,this.refs=AE,this.updater=r||TE}var Hp=Ip.prototype=new OE;Hp.constructor=Ip;FE(Hp,Is.prototype);Hp.isPureReactComponent=!0;var Vv=Array.isArray;function md(){}var mt={H:null,A:null,T:null,S:null},CE=Object.prototype.hasOwnProperty;function Vp(e,t,r){var n=r.ref;return{$$typeof:jp,type:e,key:t,ref:n!==void 0?n:null,props:r}}function TT(e,t){return Vp(e.type,t,e.props)}function Gp(e){return typeof e=="object"&&e!==null&&e.$$typeof===jp}function FT(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Gv=/\/+/g;function lh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?FT(""+e.key):t.toString(36)}function AT(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(md,md):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Xl(e,t,r,n,a){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case jp:case pT:l=!0;break;case bE:return l=e._init,Xl(l(e._payload),t,r,n,a)}}if(l)return a=a(e),l=n===""?"."+lh(e,0):n,Vv(a)?(r="",l!=null&&(r=l.replace(Gv,"$&/")+"/"),Xl(a,t,r,"",function(u){return u})):a!=null&&(Gp(a)&&(a=TT(a,r+(a.key==null||e&&e.key===a.key?"":(""+a.key).replace(Gv,"$&/")+"/")+l)),t.push(a)),1;l=0;var s=n===""?".":n+":";if(Vv(e))for(var o=0;o<e.length;o++)n=e[o],i=s+lh(n,o),l+=Xl(n,t,r,i,a);else if(o=bT(e),typeof o=="function")for(e=o.call(e),o=0;!(n=e.next()).done;)n=n.value,i=s+lh(n,o++),l+=Xl(n,t,r,i,a);else if(i==="object"){if(typeof e.then=="function")return Xl(AT(e),t,r,n,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function Wu(e,t,r){if(e==null)return e;var n=[],a=0;return Xl(e,n,"","",function(i){return t.call(r,i,a++)}),n}function OT(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var $v=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},CT={map:Wu,forEach:function(e,t,r){Wu(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Wu(e,function(){t++}),t},toArray:function(e){return Wu(e,function(t){return t})||[]},only:function(e){if(!Gp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ke.Activity=ST;ke.Children=CT;ke.Component=Is;ke.Fragment=mT;ke.Profiler=gT;ke.PureComponent=Ip;ke.StrictMode=vT;ke.Suspense=ET;ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=mt;ke.__COMPILER_RUNTIME={__proto__:null,c:function(e){return mt.H.useMemoCache(e)}};ke.cache=function(e){return function(){return e.apply(null,arguments)}};ke.cacheSignal=function(){return null};ke.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=FE({},e.props),a=e.key;if(t!=null)for(i in t.key!==void 0&&(a=""+t.key),t)!CE.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(n[i]=t[i]);var i=arguments.length-2;if(i===1)n.children=r;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];n.children=l}return Vp(e.type,a,n)};ke.createContext=function(e){return e={$$typeof:yT,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:xT,_context:e},e};ke.createElement=function(e,t,r){var n,a={},i=null;if(t!=null)for(n in t.key!==void 0&&(i=""+t.key),t)CE.call(t,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){for(var s=Array(l),o=0;o<l;o++)s[o]=arguments[o+2];a.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)a[n]===void 0&&(a[n]=l[n]);return Vp(e,i,a)};ke.createRef=function(){return{current:null}};ke.forwardRef=function(e){return{$$typeof:_T,render:e}};ke.isValidElement=Gp;ke.lazy=function(e){return{$$typeof:bE,_payload:{_status:-1,_result:e},_init:OT}};ke.memo=function(e,t){return{$$typeof:wT,type:e,compare:t===void 0?null:t}};ke.startTransition=function(e){var t=mt.T,r={};mt.T=r;try{var n=e(),a=mt.S;a!==null&&a(r,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(md,$v)}catch(i){$v(i)}finally{t!==null&&r.types!==null&&(t.types=r.types),mt.T=t}};ke.unstable_useCacheRefresh=function(){return mt.H.useCacheRefresh()};ke.use=function(e){return mt.H.use(e)};ke.useActionState=function(e,t,r){return mt.H.useActionState(e,t,r)};ke.useCallback=function(e,t){return mt.H.useCallback(e,t)};ke.useContext=function(e){return mt.H.useContext(e)};ke.useDebugValue=function(){};ke.useDeferredValue=function(e,t){return mt.H.useDeferredValue(e,t)};ke.useEffect=function(e,t){return mt.H.useEffect(e,t)};ke.useEffectEvent=function(e){return mt.H.useEffectEvent(e)};ke.useId=function(){return mt.H.useId()};ke.useImperativeHandle=function(e,t,r){return mt.H.useImperativeHandle(e,t,r)};ke.useInsertionEffect=function(e,t){return mt.H.useInsertionEffect(e,t)};ke.useLayoutEffect=function(e,t){return mt.H.useLayoutEffect(e,t)};ke.useMemo=function(e,t){return mt.H.useMemo(e,t)};ke.useOptimistic=function(e,t){return mt.H.useOptimistic(e,t)};ke.useReducer=function(e,t,r){return mt.H.useReducer(e,t,r)};ke.useRef=function(e){return mt.H.useRef(e)};ke.useState=function(e){return mt.H.useState(e)};ke.useSyncExternalStore=function(e,t,r){return mt.H.useSyncExternalStore(e,t,r)};ke.useTransition=function(){return mt.H.useTransition()};ke.version="19.2.1";SE.exports=ke;var b=SE.exports;const P=js(b),RT=_E({__proto__:null,default:P},[b]);var RE={exports:{}},kr={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var DT=b;function DE(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function qa(){}var Nr={d:{f:qa,r:function(){throw Error(DE(522))},D:qa,C:qa,L:qa,m:qa,X:qa,S:qa,M:qa},p:0,findDOMNode:null},NT=Symbol.for("react.portal");function MT(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:NT,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}var Do=DT.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m0(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}kr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Nr;kr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(DE(299));return MT(e,t,null,r)};kr.flushSync=function(e){var t=Do.T,r=Nr.p;try{if(Do.T=null,Nr.p=2,e)return e()}finally{Do.T=t,Nr.p=r,Nr.d.f()}};kr.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Nr.d.C(e,t))};kr.prefetchDNS=function(e){typeof e=="string"&&Nr.d.D(e)};kr.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,n=m0(r,t.crossOrigin),a=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?Nr.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:i}):r==="script"&&Nr.d.X(e,{crossOrigin:n,integrity:a,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};kr.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=m0(t.as,t.crossOrigin);Nr.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Nr.d.M(e)};kr.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,n=m0(r,t.crossOrigin);Nr.d.L(e,r,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};kr.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=m0(t.as,t.crossOrigin);Nr.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Nr.d.m(e)};kr.requestFormReset=function(e){Nr.d.r(e)};kr.unstable_batchedUpdates=function(e,t){return e(t)};kr.useFormState=function(e,t,r){return Do.H.useFormState(e,t,r)};kr.useFormStatus=function(){return Do.H.useHostTransitionStatus()};kr.version="19.2.1";function NE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(NE)}catch(e){console.error(e)}}NE(),RE.exports=kr;var $p=RE.exports;const kT=js($p);function Lr(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}var Kn={button:"Button-module_button__2ZuB7",without:"Button-module_without__IQxpD",icon:"Button-module_icon__-43u5",loading:"Button-module_loading__EQAt2",merging:"Button-module_merging__7ts-m","very-small":"Button-module_very-small__9wxQ0",small:"Button-module_small__l39oh",medium:"Button-module_medium__KTxdk",large:"Button-module_large__6bsb7",rounded:"Button-module_rounded__3BmEw",readOnly:"Button-module_readOnly__anYuD",circle:"Button-module_circle__7TGXj",square:"Button-module_square__uZuq2",squareLeft:"Button-module_squareLeft__s0eDe",squareRight:"Button-module_squareRight__wtIvm",horizontal:"Button-module_horizontal__UIC-F",outline:"Button-module_outline__F5jq-",vertical:"Button-module_vertical__dx15F"};function ME(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=ME(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function He(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=ME(e))&&(n&&(n+=" "),n+=t);return n}var LT="Loader-module_loader__vqQOD";function BT({progress:e=0,size:t="24px"}){const r=2*Math.PI*8.5,n=b.useMemo(()=>{const a=Math.max(0,Math.min(100,e));return{strokeDasharray:r,strokeDashoffset:r-a/100*r,transition:"stroke-dashoffset 0.3s ease-in-out"}},[e,r]);return P.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P.createElement("circle",{cx:"12",cy:"12",r:8.5,stroke:"var(--mist-accent)",strokeWidth:"1.5",fill:"none"}),P.createElement("circle",{cx:"12",cy:"12",r:8.5,stroke:"var(--accent)",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",transform:"rotate(270 12 12)",style:n}),P.createElement("path",{d:"M12.001 7.5L11.9996 16.5M11.9996 16.5L9.50098 14M11.9996 16.5L14.501 14",stroke:"var(--accent)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Xp({className:e,progress:t=0,variant:r="default",size:n}){const a=He(LT,e);return r==="progress"?P.createElement(BT,{progress:t,size:n}):P.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,style:{width:n,height:n}},P.createElement("path",{d:"M3.5 12C3.5 9.74566 4.39553 7.58365 5.98959 5.98959C7.58365 4.39553 9.74566 3.5 12 3.5C14.2543 3.5 16.4163 4.39553 18.0104 5.98959C19.6045 7.58365 20.5 9.74566 20.5 12",stroke:"var(--accent)",strokeWidth:"1.5",strokeLinecap:"round"}))}function Ml(e){switch(e){case"very-small":case"small":return 28;case"medium":case"large":return 46}}function kE(e){return`${e}-svg`}function PT(e){return`${e}-svg`}function LE(e){return e==="inherit"?"inherit":`reverse-${e}`}const zT=e=>{var{className:t,color:r="accent",size:n="medium",variant:a="default",form:i,icon:l=null,active:s=!1,rounded:o=!1,readOnly:u=!1,loading:c=!1,children:f}=e,h=Lr(e,["className","color","size","variant","form","icon","active","rounded","readOnly","loading","children"]);const d=He(Kn.button,r,s?LE(r):kE(r),Kn[n],a==="outline"?a:Kn[a],i&&Kn[i],o&&Kn.rounded,c&&Kn.loading,(u||c)&&Kn.readOnly,l!==null&&Kn.icon,t),p=b.useMemo(()=>({width:`${a==="outline"?Ml(n)-4:Ml(n)}px`,height:`${a==="outline"?Ml(n)-4:Ml(n)}px`,display:"flex",alignItems:"center",justifyContent:"center"}),[n,a]),m=b.useCallback(()=>l===null?null:P.createElement("div",{style:p},c?P.createElement("div",{style:{width:Ml(n)-12+"px",height:Ml(n)-12+"px"}},P.createElement(Xp,null)):l),[l,c,p]),y=b.useMemo(()=>P.createElement(P.Fragment,null,P.createElement("div",{className:Kn.squareLeft},m()),P.createElement("div",{className:Kn.squareRight},f)),[m,f]),v=b.useMemo(()=>P.createElement(P.Fragment,null,m(),f),[m,f]);return P.createElement("button",Object.assign({className:d},h),i==="square"?y:v)};var an=P.memo(zT),UT="Stack-module_stack__yUU-B",Xv="Stack-module_gap10__k4UW8",jT="Stack-module_max__R3FfC";const IT={start:"Stack-module_justifyStart__wq3TN",center:"Stack-module_justifyCenter__5iQts",end:"Stack-module_justifyEnd__uKYVO",between:"Stack-module_justifyBetween__0wSz6"},HT={start:"Stack-module_alignStart__DGQKN",center:"Stack-module_alignCenter__geGJ5",end:"Stack-module_alignEnd__G1rcq"},VT={row:"Stack-module_directionRow__xyFSc",column:"Stack-module_directionColumn__jhVJN"},GT={2:"Stack-module_gap2__nKtr4",8:Xv,10:Xv,12:"Stack-module_gap12__-EAZJ"};function $T(e){var{className:t,children:r,justify:n="start",align:a="center",direction:i="row",gap:l,max:s}=e,o=Lr(e,["className","children","justify","align","direction","gap","max"]);const u=He(t,UT,IT[n],HT[a],VT[i],l&&GT[l],s&&jT);return P.createElement("div",Object.assign({className:u},o),r)}var Ka={left:"Text-module_left__set4w",right:"Text-module_right__jbHkl",center:"Text-module_center__AiQMQ",hidden:"Text-module_hidden__SpK0F",mono:"Text-module_mono__YOPMe",Gilroy:"Text-module_Gilroy__kxNLE",Bicubik:"Text-module_Bicubik__rGnRV",s:"Text-module_s__wsxtv",m:"Text-module_m__fvHal",l:"Text-module_l__9C0Yd",xl:"Text-module_xl__2WbDj",xxl:"Text-module_xxl__xnEo8",xxxl:"Text-module_xxxl__JoRQ7",normal:"Text-module_normal__EKOLl",semibold:"Text-module_semibold__yUnFf",medium:"Text-module_medium__xqpTE",inherit:"Text-module_inherit__o48-H",accent:"Text-module_accent__CBc2-",red:"Text-module_red__CP5ta",blue:"Text-module_blue__ynv1j",yellow:"Text-module_yellow__miTRI",disable:"Text-module_disable__Cr3Om"};function ll(e){var{className:t,align:r="left",size:n="s",weight:a="normal",color:i="inherit",family:l="Gilroy",mono:s=!1,hidden:o=!1,children:u}=e,c=Lr(e,["className","align","size","weight","color","family","mono","hidden","children"]);const f=He(Ka.text,s&&Ka.mono,o&&Ka.hidden,Ka[r],Ka[n],Ka[a],Ka[i],Ka[l],t);return P.createElement("span",Object.assign({className:f},c),u)}var xn={inputContainer:"Input-module_inputContainer__3edrD",inputWrapper:"Input-module_inputWrapper__FIVsA",readonly:"Input-module_readonly__AfxZ5",input:"Input-module_input__WjT81",icon_container:"Input-module_icon_container__c2VPw",input_icon:"Input-module_input_icon__bGCrx",large:"Input-module_large__g7SQh",medium:"Input-module_medium__2Ngfz",isError:"Input-module_isError__RGYjb",underline:"Input-module_underline__FZOph",line:"Input-module_line__ANSdy",password_icon:"Input-module_password_icon__hFcSu",pass:"Input-module_pass__s4MOo"},kl={tooltip:"Tooltip-module_tooltip__UA7H9",default:"Tooltip-module_default__QI8U9",error:"Tooltip-module_error__OXsHo",warning:"Tooltip-module_warning__i6MBi",top:"Tooltip-module_top__m2tnn",bottom:"Tooltip-module_bottom__9Twz4",triangle:"Tooltip-module_triangle__bueua",message:"Tooltip-module_message__nH7Ax"};function XT(e){var{className:t,children:r,placement:n="top",variant:a="default",arrow:i=!1,show:l=!0}=e,s=Lr(e,["className","children","placement","variant","arrow","show"]);const o=He(kl[a],kl.tooltip,kl[n],i&&kl.arrow,t);return l?P.createElement("span",Object.assign({className:o},s),i&&P.createElement("span",{className:kl.triangle}),P.createElement("label",{className:kl.message},r)):P.createElement(P.Fragment,null)}var YT="Icon-module_icon__szG-X",qT="Icon-module_hover__NkCgH";function Yp(e){var{color:t,className:r,children:n,reverseColor:a,hover:i=!1}=e,l=Lr(e,["color","className","children","reverseColor","hover"]);const s=He(YT,!i&&qT,a===!0?PT(LE(t)):kE(t),r);return P.createElement("div",Object.assign({className:s},l),n)}var Yv,Qu={},no={},qv,Ju={};function vd(){return qv||(qv=1,function(e){var t=Ju&&Ju.__assign||function(){return t=Object.assign||function(r){for(var n,a=1,i=arguments.length;a<i;a++)for(var l in n=arguments[a])Object.prototype.hasOwnProperty.call(n,l)&&(r[l]=n[l]);return r},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.getNudgedPopoverRect=e.getNewPopoverRect=e.popoverRectForPosition=e.createContainer=e.rectsAreEqual=e.createRect=e.EMPTY_RECT=void 0,e.EMPTY_RECT={top:0,left:0,right:0,bottom:0,width:0,height:0},e.createRect=function(r){var n=r.top,a=r.left,i=r.width,l=r.height;return{top:n,left:a,width:i,height:l,right:a+i,bottom:n+l}},e.rectsAreEqual=function(r,n){return r===n||r?.bottom===n?.bottom&&r?.height===n?.height&&r?.left===n?.left&&r?.right===n?.right&&r?.top===n?.top&&r?.width===n?.width},e.createContainer=function(r){var n=r.containerStyle,a=r.containerClassName,i=window.document.createElement("div");return a&&(i.className=a),Object.assign(i.style,n),i},e.popoverRectForPosition=function(r,n,a,i,l){var s,o,u=n.left+n.width/2,c=n.top+n.height/2,f=a.width,h=a.height;switch(r){case"left":s=c-h/2,o=n.left-i-f,l==="start"&&(s=n.top),l==="end"&&(s=n.bottom-h);break;case"bottom":s=n.bottom+i,o=u-f/2,l==="start"&&(o=n.left),l==="end"&&(o=n.right-f);break;case"right":s=c-h/2,o=n.right+i,l==="start"&&(s=n.top),l==="end"&&(s=n.bottom-h);break;default:s=n.top-h-i,o=u-f/2,l==="start"&&(o=n.left),l==="end"&&(o=n.right-f)}return(0,e.createRect)({left:o,top:s,width:f,height:h})},e.getNewPopoverRect=function(r,n){var a=r.position,i=r.align,l=r.childRect,s=r.popoverRect,o=r.boundaryRect,u=r.padding,c=r.reposition,f=(0,e.popoverRectForPosition)(a,l,s,u,i);return{rect:f,boundaryViolation:c&&(a==="top"&&f.top<o.top+n||a==="left"&&f.left<o.left+n||a==="right"&&f.right>o.right-n||a==="bottom"&&f.bottom>o.bottom-n)}},e.getNudgedPopoverRect=function(r,n,a){var i=n.top+a,l=n.left+a,s=n.right-a,o=n.bottom-a,u=r.top<i?i:r.top;u=u+r.height>o?o-r.height:u;var c=r.left<l?l:r.left;return c=c+r.width>s?s-r.width:c,(0,e.createRect)(t(t({},r),{top:u,left:c}))}}(Ju)),Ju}var Kv,Zv,ao={},io={};function KT(){if(Zv)return ao;Zv=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.usePopover=void 0;var e=P,t=vd(),r=function(){if(Kv)return io;Kv=1,Object.defineProperty(io,"__esModule",{value:!0}),io.useElementRef=void 0;var i=P,l=vd();return io.useElementRef=function(s){var o=s.containerClassName,u=s.containerStyle,c=(0,i.useRef)(),f=(0,i.useState)(function(){return(0,l.createContainer)({containerStyle:u,containerClassName:o})})[0];return(0,i.useLayoutEffect)(function(){f.className=o},[o,f]),(0,i.useLayoutEffect)(function(){Object.assign(f.style,u)},[u,f]),c.current=f,c},io}(),n={position:"fixed",overflow:"visible",top:"0px",left:"0px"},a={position:"fixed",top:"0px",left:"0px",width:"0px",height:"0px",visibility:"hidden"};return ao.usePopover=function(i){var l=i.isOpen,s=i.childRef,o=i.positions,u=i.containerClassName,c=i.parentElement,f=i.transform,h=i.transformMode,d=i.align,p=i.padding,m=i.reposition,y=i.boundaryInset,v=i.boundaryElement,g=i.onPositionPopover,x=(0,r.useElementRef)({containerClassName:"react-tiny-popover-scout",containerStyle:a}),_=(0,r.useElementRef)({containerClassName:u!=null&&u.length>0&&u!=="react-tiny-popover-container"?"react-tiny-popover-container ".concat(u):"react-tiny-popover-container",containerStyle:n}),w=(0,e.useCallback)(function(T){var E,O,F=T===void 0?{}:T,R=F.positionIndex,z=R===void 0?0:R,j=F.parentRect,G=j===void 0?c.getBoundingClientRect():j,ce=F.childRect,L=ce===void 0?(E=s?.current)===null||E===void 0?void 0:E.getBoundingClientRect():ce,U=F.scoutRect,ee=U===void 0?(O=x?.current)===null||O===void 0?void 0:O.getBoundingClientRect():U,oe=F.popoverRect,de=oe===void 0?_.current.getBoundingClientRect():oe,fe=F.boundaryRect,Fe=fe===void 0?v===c?G:v.getBoundingClientRect():fe;if(L&&G&&l){if(f&&h==="absolute"){var B=typeof f=="function"?f({childRect:L,popoverRect:de,parentRect:G,boundaryRect:Fe,padding:p,align:d,nudgedTop:0,nudgedLeft:0,boundaryInset:y,violations:t.EMPTY_RECT,hasViolations:!1}):f,H=B.top,I=B.left,V=Math.round(G.left+I-ee.left),re=Math.round(G.top+H-ee.top);return _.current.style.transform="translate(".concat(V,"px, ").concat(re,"px)"),void g({childRect:L,popoverRect:(0,t.createRect)({left:V,top:re,width:de.width,height:de.height}),parentRect:G,boundaryRect:Fe,padding:p,align:d,transform:{top:H,left:I},nudgedTop:0,nudgedLeft:0,boundaryInset:y,violations:t.EMPTY_RECT,hasViolations:!1})}var ve=z===o.length,Q=ve?o[0]:o[z],W=(0,t.getNewPopoverRect)({childRect:L,popoverRect:de,boundaryRect:Fe,position:Q,align:d,padding:p,reposition:m},y),q=W.rect;if(W.boundaryViolation&&m&&!ve)w({positionIndex:z+1,childRect:L,popoverRect:de,parentRect:G,boundaryRect:Fe});else{var me=q.top,Ce=q.left,Ge=q.width,Re=q.height,ot=m&&!ve,Ie=(0,t.getNudgedPopoverRect)(q,Fe,y),_e=Ie.left,ht=Ie.top,nt=me,M=Ce;ot&&(nt=ht,M=_e),nt=Math.round(nt-ee.top),M=Math.round(M-ee.left),_.current.style.transform="translate(".concat(M,"px, ").concat(nt,"px)");var X={top:Fe.top+y-nt,left:Fe.left+y-M,right:M+Ge-Fe.right+y,bottom:nt+Re-Fe.bottom+y},Y={childRect:L,popoverRect:(0,t.createRect)({left:M,top:nt,width:Ge,height:Re}),parentRect:G,boundaryRect:Fe,position:Q,align:d,padding:p,nudgedTop:ht-me,nudgedLeft:_e-Ce,boundaryInset:y,violations:{top:X.top<=0?0:X.top,left:X.left<=0?0:X.left,right:X.right<=0?0:X.right,bottom:X.bottom<=0?0:X.bottom},hasViolations:X.top>0||X.left>0||X.right>0||X.bottom>0};if(f){g(Y);var ae=typeof f=="function"?f(Y):f,le=ae.top,ne=ae.left;_.current.style.transform="translate(".concat(Math.round(M+(ne??0)),"px, ").concat(Math.round(nt+(le??0)),"px)"),Y.nudgedLeft+=ne??0,Y.nudgedTop+=le??0,Y.transform={top:le,left:ne}}g(Y)}}},[c,s,x,_,v,l,f,h,o,d,p,m,y,g]);return{positionPopover:w,popoverRef:_,scoutRef:x}},ao}var Wv,lo={},Qv,so={},Jv,Ii={};function eg(){if(Jv)return Ii;Jv=1;var e=Ii&&Ii.__assign||function(){return e=Object.assign||function(r){for(var n,a=1,i=arguments.length;a<i;a++)for(var l in n=arguments[a])Object.prototype.hasOwnProperty.call(n,l)&&(r[l]=n[l]);return r},e.apply(this,arguments)};Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.useArrowContainer=void 0;var t=P;return Ii.useArrowContainer=function(r){var n=r.childRect,a=r.popoverRect,i=r.position,l=r.arrowSize,s=r.arrowColor;return{arrowContainerStyle:(0,t.useMemo)(function(){return{padding:l}},[l]),arrowStyle:(0,t.useMemo)(function(){return e({position:"absolute"},function(){var o=2*l,u=n.top-a.top+n.height/2-o/2,c=n.left-a.left+n.width/2-o/2,f=l,h=a.width-l,d=a.height-l;switch(c=(c=c<f?f:c)+o>h?h-o:c,u=(u=u<f?f:u)+o>d?d-o:u,u=Number.isNaN(u)?0:u,c=Number.isNaN(c)?0:c,i){case"right":return{borderTop:"".concat(l,"px solid transparent"),borderBottom:"".concat(l,"px solid transparent"),borderRight:"".concat(l,"px solid ").concat(s),left:0,top:u};case"left":return{borderTop:"".concat(l,"px solid transparent"),borderBottom:"".concat(l,"px solid transparent"),borderLeft:"".concat(l,"px solid ").concat(s),right:0,top:u};case"bottom":return{borderLeft:"".concat(l,"px solid transparent"),borderRight:"".concat(l,"px solid transparent"),borderBottom:"".concat(l,"px solid ").concat(s),top:0,left:c};case"top":return{borderLeft:"".concat(l,"px solid transparent"),borderRight:"".concat(l,"px solid transparent"),borderTop:"".concat(l,"px solid ").concat(s),bottom:0,left:c};default:return{display:"hidden"}}}())},[s,l,n.height,n.left,n.top,n.width,a.height,a.left,a.top,a.width,i])}},Ii}var tg,rg,Hi={},BE=(rg||(rg=1,function(e){var t=Qu&&Qu.__assign||function(){return t=Object.assign||function(d){for(var p,m=1,y=arguments.length;m<y;m++)for(var v in p=arguments[m])Object.prototype.hasOwnProperty.call(p,v)&&(d[v]=p[v]);return d},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.Popover=e.usePopover=e.ArrowContainer=e.useArrowContainer=void 0;var r=Iv,n=P,a=function(){if(Yv)return no;Yv=1,Object.defineProperty(no,"__esModule",{value:!0}),no.PopoverPortal=void 0;var d=P,p=kT;return no.PopoverPortal=function(m){var y=m.container,v=m.element,g=m.scoutElement,x=m.children;return(0,d.useLayoutEffect)(function(){return y.appendChild(v),y.appendChild(g),function(){y.removeChild(v),y.removeChild(g)}},[y,v,g]),(0,p.createPortal)(x,v)},no}(),i=vd(),l=KT();Object.defineProperty(e,"usePopover",{enumerable:!0,get:function(){return l.usePopover}});var s=function(){if(Wv)return lo;Wv=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.useMemoizedArray=void 0;var d=P;return lo.useMemoizedArray=function(p){var m=(0,d.useRef)(p);return(0,d.useMemo)(function(){if(m.current===p)return m.current;if(m.current.length!==p.length)return m.current=p,p;for(var y=0;y<p.length;y+=1)if(p[y]!==m.current[y])return m.current=p,p;return m.current},[p])},lo}(),o=function(){if(Qv)return so;Qv=1,Object.defineProperty(so,"__esModule",{value:!0}),so.useHandlePrevValues=void 0;var d=P;return so.useHandlePrevValues=function(p){var m=(0,d.useRef)(p.positions),y=(0,d.useRef)(p.reposition),v=(0,d.useRef)(p.transformMode),g=(0,d.useRef)(p.transform),x=(0,d.useRef)(p.boundaryElement),_=(0,d.useRef)(p.boundaryInset),w=(0,d.useCallback)(function(){m.current=p.positions,y.current=p.reposition,v.current=p.transformMode,g.current=p.transform,x.current=p.boundaryElement,_.current=p.boundaryInset},[p.boundaryElement,p.boundaryInset,p.positions,p.reposition,p.transform,p.transformMode]);return{prev:{positions:m.current,reposition:y.current,transformMode:v.current,transform:g.current,boundaryElement:x.current,boundaryInset:_.current},updatePrevValues:w}},so}(),u=eg();Object.defineProperty(e,"useArrowContainer",{enumerable:!0,get:function(){return u.useArrowContainer}});var c=function(){if(tg)return Hi;tg=1;var d=Hi&&Hi.__assign||function(){return d=Object.assign||function(v){for(var g,x=1,_=arguments.length;x<_;x++)for(var w in g=arguments[x])Object.prototype.hasOwnProperty.call(g,w)&&(v[w]=g[w]);return v},d.apply(this,arguments)};Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.ArrowContainer=void 0;var p=Iv,m=P,y=eg();return Hi.ArrowContainer=function(v){var g=v.childRect,x=v.popoverRect,_=v.position,w=v.arrowColor,T=v.arrowSize,E=v.arrowClassName,O=v.arrowStyle,F=v.className,R=v.children,z=v.style,j=(0,y.useArrowContainer)({childRect:g,popoverRect:x,position:_,arrowColor:w,arrowSize:T}),G=j.arrowContainerStyle,ce=j.arrowStyle,L=(0,m.useMemo)(function(){return d(d({},G),z)},[G,z]),U=(0,m.useMemo)(function(){return d(d({},ce),O)},[ce,O]);return(0,p.jsxs)("div",{className:F,style:L,children:[(0,p.jsx)("div",{style:U,className:E}),R]})},Hi}();Object.defineProperty(e,"ArrowContainer",{enumerable:!0,get:function(){return c.ArrowContainer}});var f=["top","left","right","bottom"],h=(0,n.forwardRef)(function(d,p){var m=d.isOpen,y=d.children,v=d.content,g=d.positions,x=g===void 0?f:g,_=d.align,w=_===void 0?"center":_,T=d.padding,E=T===void 0?0:T,O=d.reposition,F=O===void 0||O,R=d.parentElement,z=R===void 0?window.document.body:R,j=d.boundaryElement,G=j===void 0?z:j,ce=d.containerClassName,L=d.containerStyle,U=d.transform,ee=d.transformMode,oe=ee===void 0?"absolute":ee,de=d.boundaryInset,fe=de===void 0?0:de,Fe=d.onClickOutside,B=d.clickOutsideCapture,H=B!==void 0&&B,I=(0,s.useMemoizedArray)(Array.isArray(x)?x:[x]),V=(0,o.useHandlePrevValues)({positions:I,reposition:F,transformMode:oe,transform:U,boundaryElement:G,boundaryInset:fe}),re=V.prev,ve=V.updatePrevValues,Q=(0,n.useRef)(),W=(0,n.useState)({align:w,nudgedLeft:0,nudgedTop:0,position:I[0],padding:E,childRect:i.EMPTY_RECT,popoverRect:i.EMPTY_RECT,parentRect:i.EMPTY_RECT,boundaryRect:i.EMPTY_RECT,boundaryInset:fe,violations:i.EMPTY_RECT,hasViolations:!1}),q=W[0],me=W[1],Ce=(0,n.useCallback)(function(M){return me(M)},[]),Ge=(0,l.usePopover)({isOpen:m,childRef:Q,containerClassName:ce,parentElement:z,boundaryElement:G,transform:U,transformMode:oe,positions:I,align:w,padding:E,boundaryInset:fe,reposition:F,onPositionPopover:Ce}),Re=Ge.positionPopover,ot=Ge.popoverRef,Ie=Ge.scoutRef;(0,n.useLayoutEffect)(function(){var M=!0,X=function(){var Y,ae;if(m&&M){var le=(Y=Q?.current)===null||Y===void 0?void 0:Y.getBoundingClientRect(),ne=(ae=ot?.current)===null||ae===void 0?void 0:ae.getBoundingClientRect();le==null||ne==null||(0,i.rectsAreEqual)(le,q.childRect)&&ne.width===q.popoverRect.width&&ne.height===q.popoverRect.height&&q.padding===E&&q.align===w&&I===re.positions&&F===re.reposition&&oe===re.transformMode&&U===re.transform&&G===re.boundaryElement&&fe===re.boundaryInset||Re(),ve(),M&&window.requestAnimationFrame(X)}};return X(),function(){M=!1}},[w,G,fe,m,E,ot,q.align,q.childRect,q.padding,q.popoverRect.height,q.popoverRect.width,Re,I,re.boundaryElement,re.boundaryInset,re.positions,re.reposition,re.transform,re.transformMode,F,U,oe,ve]),(0,n.useEffect)(function(){var M=ot.current;return Object.assign(M.style,L),function(){Object.keys(L??{}).forEach(function(X){return delete M.style[X]})}},[L,m,ot]);var _e=(0,n.useCallback)(function(M){var X,Y;!m||!((X=ot.current)===null||X===void 0)&&X.contains(M.target)||!((Y=Q.current)===null||Y===void 0)&&Y.contains(M.target)||Fe==null||Fe(M)},[m,Fe,ot]),ht=(0,n.useCallback)(function(){Q.current&&m&&window.requestAnimationFrame(function(){return Re()})},[Re,m]);(0,n.useEffect)(function(){var M=z.ownerDocument.body;return M.addEventListener("click",_e,H),M.addEventListener("contextmenu",_e,H),window.addEventListener("resize",ht),function(){M.removeEventListener("click",_e,H),M.removeEventListener("contextmenu",_e,H),window.removeEventListener("resize",ht)}},[H,_e,ht,z]);var nt=(0,n.useCallback)(function(M){Q.current=M,p!=null&&(typeof p=="object"?p.current=M:typeof p=="function"&&p(M))},[p]);return(0,r.jsxs)(r.Fragment,{children:[(0,n.cloneElement)(y,{ref:nt}),m?(0,r.jsx)(a.PopoverPortal,{element:ot.current,scoutElement:Ie.current,container:z,children:typeof v=="function"?v(q):v}):null]})});e.Popover=(0,n.forwardRef)(function(d,p){return typeof window>"u"?d.children:(0,r.jsx)(h,t({},d,{ref:p}))})}(Qu)),Qu),ng;function gd(){return gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gd.apply(null,arguments)}var GI=function(e){return b.createElement("svg",gd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),ng||(ng=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M23 8.75a.75.75 0 0 1 .75.75v12.75H36.5a.75.75 0 0 1 0 1.5H23.75V36.5a.75.75 0 0 1-1.5 0V23.75H9.5a.75.75 0 0 1 0-1.5h12.75V9.5a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})))},ag;function xd(){return xd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xd.apply(null,arguments)}var $I=function(e){return b.createElement("svg",xd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),ag||(ag=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M21.925 10.785a1.25 1.25 0 0 1 2.15 0l12.491 21.078a1.25 1.25 0 0 1-1.075 1.887H10.51a1.25 1.25 0 0 1-1.076-1.887zm3.441-.765c-1.065-1.797-3.666-1.797-4.732 0L8.144 31.098c-1.086 1.833.235 4.152 2.366 4.152h24.98c2.131 0 3.453-2.32 2.366-4.152zM14 30.5l9-15.501 9 15.5z",clipRule:"evenodd"})))},ig;function yd(){return yd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yd.apply(null,arguments)}var ZT=function(e){return b.createElement("svg",yd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),ig||(ig=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.03 11.97a.75.75 0 1 0-1.06 1.06l8.46 8.46c.649.902.649 2.118 0 3.02l-8.46 8.46a.75.75 0 1 0 1.06 1.06l8.46-8.46a2.58 2.58 0 0 1 3.02 0l8.46 8.46a.75.75 0 1 0 1.06-1.06l-8.46-8.46a2.58 2.58 0 0 1 0-3.02l8.46-8.46a.75.75 0 1 0-1.06-1.06l-8.46 8.46c-.902.649-2.118.649-3.02 0z",clipRule:"evenodd"})))},lg;function _d(){return _d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_d.apply(null,arguments)}var qp=function(e){return b.createElement("svg",_d({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),lg||(lg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M37.03 14.47a.75.75 0 0 1 0 1.06l-17 17a.75.75 0 0 1-1.06 0l-10-10a.75.75 0 1 1 1.06-1.06l9.47 9.47 16.47-16.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})))},sg;function Ed(){return Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ed.apply(null,arguments)}var og,XI=function(e){return b.createElement("svg",Ed({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),sg||(sg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M24 9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.254 4.32a.75.75 0 0 1-.34.882 7.25 7.25 0 1 0 8.027 12.036.75.75 0 0 1 1.115.954A9.75 9.75 0 0 1 24 32.75c-5.385 0-9.75-4.365-9.75-9.75 0-5.031 3.81-9.172 8.703-9.694a.75.75 0 0 1 .793.514m-3.789 1.986a8.25 8.25 0 1 0 9.122 13.695 8.75 8.75 0 0 1-9.122-13.695M23 37.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M37 28a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-27-9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m25-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0M12 32a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})))};function wd(){return wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wd.apply(null,arguments)}var YI=function(e){return b.createElement("svg",wd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),og||(og=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M22.342 8.75a3.75 3.75 0 0 0-3.638 2.84l-.29 1.16H9a.75.75 0 0 0 0 1.5h28a.75.75 0 0 0 0-1.5h-9.414l-.29-1.16a3.75 3.75 0 0 0-3.638-2.84zm3.697 4h-6.078l.199-.796a2.25 2.25 0 0 1 2.182-1.704h1.316a2.25 2.25 0 0 1 2.182 1.704zM9 17.25a.75.75 0 0 0 0 1.5h2.333l.921 7.831.73 7.292a3.75 3.75 0 0 0 3.731 3.377h12.57a3.75 3.75 0 0 0 3.731-3.377l.73-7.292.92-7.831H37a.75.75 0 0 0 0-1.5H9m4.745 9.162-.902-7.662h20.314l-.902 7.662-.001.013-.73 7.299a2.25 2.25 0 0 1-2.239 2.026h-12.57a2.25 2.25 0 0 1-2.239-2.026l-.73-7.299zm7.429-2.662c-.69 0-1.25.56-1.25 1.25v1a.75.75 0 0 1-1.269.541l-1.174-1.125a.75.75 0 0 1 1.027-1.093 2.75 2.75 0 0 1 2.666-2.073h3.576a3 3 0 0 1 3 3 .75.75 0 0 1-1.5 0 1.5 1.5 0 0 0-1.5-1.5zM26.076 29c0 .69-.56 1.25-1.25 1.25H21.25a1.5 1.5 0 0 1-1.5-1.5.75.75 0 0 0-1.5 0 3 3 0 0 0 3 3h3.576a2.75 2.75 0 0 0 2.666-2.073.75.75 0 0 0 1.027-1.093l-1.174-1.125a.75.75 0 0 0-1.269.541z",clipRule:"evenodd"})))},ug;function Sd(){return Sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sd.apply(null,arguments)}var cg,qI=function(e){return b.createElement("svg",Sd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),ug||(ug=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M8.75 32.5a4.75 4.75 0 0 0 4.75 4.75h19a4.75 4.75 0 0 0 4.75-4.75v-3.977a.75.75 0 0 0-1.5 0V32.5a3.25 3.25 0 0 1-3.25 3.25h-19a3.25 3.25 0 0 1-3.25-3.25v-19a3.25 3.25 0 0 1 3.25-3.25h3.977a.75.75 0 0 0 0-1.5H13.5a4.75 4.75 0 0 0-4.75 4.75zM33.944 9.884a2.75 2.75 0 0 0-3.889 0L27.97 11.97l-8.914 8.914a2.75 2.75 0 0 0-.806 1.944V27c0 .414.336.75.75.75h4.172c.729 0 1.428-.29 1.944-.805l8.914-8.915 2.086-2.086a2.75 2.75 0 0 0 0-3.889zm-2.828 1.06a1.25 1.25 0 0 1 1.768 0l2.172 2.172a1.25 1.25 0 0 1 0 1.768L33.5 16.439 29.56 12.5zM28.5 13.561l3.94 3.939-8.384 8.384a1.25 1.25 0 0 1-.884.366H19.75v-3.422c0-.331.132-.649.366-.883z",clipRule:"evenodd"})))};function bd(){return bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bd.apply(null,arguments)}var KI=function(e){return b.createElement("svg",bd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),cg||(cg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M16.5 8.75a4.75 4.75 0 0 0-4.75 4.75v.154a.75.75 0 1 0 1.5 0V13.5a3.25 3.25 0 0 1 3.25-3.25h13a3.25 3.25 0 0 1 3.25 3.25v19a3.25 3.25 0 0 1-3.25 3.25h-13a3.25 3.25 0 0 1-3.25-3.25v-.154a.75.75 0 1 0-1.5 0v.154a4.75 4.75 0 0 0 4.75 4.75h13a4.75 4.75 0 0 0 4.75-4.75v-19a4.75 4.75 0 0 0-4.75-4.75zm5.03 8.72a.75.75 0 1 0-1.06 1.06l3.72 3.72H12.5a.75.75 0 0 0 0 1.5h11.69l-3.72 3.72a.75.75 0 1 0 1.06 1.06l5-5a.75.75 0 0 0 0-1.06z",clipRule:"evenodd"})))},fg;function Td(){return Td=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Td.apply(null,arguments)}var ZI=function(e){return b.createElement("svg",Td({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),fg||(fg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M23 8.75a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 .75-.75m0 24a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 .75-.75m0-15.5a5.75 5.75 0 1 0 0 11.5 5.75 5.75 0 0 0 0-11.5M15.75 23a7.25 7.25 0 1 1 14.5 0 7.25 7.25 0 0 1-14.5 0m20.75.75a.75.75 0 0 0 0-1.5h-3a.75.75 0 0 0 0 1.5zm-24 0a.75.75 0 0 0 0-1.5h-3a.75.75 0 0 0 0 1.5zm20.576 9.326a.75.75 0 0 1-1.06 0l-2.122-2.121a.75.75 0 0 1 1.061-1.06l2.121 2.12a.75.75 0 0 1 0 1.061m-16.97-16.97a.75.75 0 0 1-1.06 0l-2.122-2.122a.75.75 0 1 1 1.06-1.06l2.122 2.121a.75.75 0 0 1 0 1.06m-3.182 15.91a.75.75 0 1 0 1.06 1.06l2.122-2.121a.75.75 0 0 0-1.061-1.06zm16.97-16.971a.75.75 0 0 0 1.06 1.06l2.122-2.12a.75.75 0 1 0-1.06-1.061z",clipRule:"evenodd"})))},hg;function Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fd.apply(null,arguments)}var WI=function(e){return b.createElement("svg",Fd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),hg||(hg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M23 10.25a7.75 7.75 0 0 0-7.536 5.937l2.048-1.756a.75.75 0 1 1 .976 1.138l-3.5 3A.75.75 0 0 1 13.75 18a9.25 9.25 0 1 1 2.356 6.167.75.75 0 0 1 1.117-1A7.75 7.75 0 1 0 23 10.25m-8.876 18.166a.75.75 0 1 0-1.248-.832l-.33.496c-1.678 2.517-.76 5.937 1.906 7.328 4.518 2.357 9.949 2.367 14.447.003.374.312.799.568 1.26.755l1.069.432a2.96 2.96 0 0 0 3.15-.598l.151-.145a2.75 2.75 0 0 0 .54-3.273l2.165-2.057a.75.75 0 0 0-1.034-1.087l-2.09 1.986-1.722-1.812 2.09-1.986a.75.75 0 0 0-1.034-1.088l-2.164 2.058a2.75 2.75 0 0 0-3.296.374l-.152.144a2.96 2.96 0 0 0-.757 3.115l.378 1.09q.17.489.436.923c-3.996 1.972-8.76 1.914-12.743-.164-1.891-.986-2.526-3.406-1.352-5.166zm14.893 1.64a1.25 1.25 0 0 1 1.768.046L33.54 33a1.25 1.25 0 0 1-.044 1.767l-.152.144a1.46 1.46 0 0 1-1.553.296l-1.07-.433a3.25 3.25 0 0 1-1.851-1.948l-.378-1.09a1.46 1.46 0 0 1 .373-1.536z",clipRule:"evenodd"})))},dg;function Ad(){return Ad=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ad.apply(null,arguments)}var WT=function(e){return b.createElement("svg",Ad({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),dg||(dg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M15.607 8.559a.75.75 0 0 1-.166 1.048l-3.635 2.643H26.5c5.937 0 10.75 4.813 10.75 10.75S32.437 33.75 26.5 33.75h-17a.75.75 0 0 1 0-1.5h17a9.25 9.25 0 0 0 0-18.5H11.806l3.635 2.643a.75.75 0 1 1-.882 1.214l-5.5-4a.75.75 0 0 1 0-1.213l5.5-4a.75.75 0 0 1 1.048.165",clipRule:"evenodd"})))},pg;function Od(){return Od=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Od.apply(null,arguments)}var QI=function(e){return b.createElement("svg",Od({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),pg||(pg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M11.25 19.5a9.25 9.25 0 1 1 18.5 0 9.25 9.25 0 0 1-18.5 0M20.5 8.75c-5.937 0-10.75 4.813-10.75 10.75s4.813 10.75 10.75 10.75 10.75-4.813 10.75-10.75S26.437 8.75 20.5 8.75m11.53 18.22a.75.75 0 1 0-1.06 1.06l5 5a1.371 1.371 0 0 1-1.94 1.94l-5-5a.75.75 0 1 0-1.06 1.06l5 5a2.871 2.871 0 0 0 4.06-4.06z",clipRule:"evenodd"})))},mg;function Cd(){return Cd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cd.apply(null,arguments)}var vg,JI=function(e){return b.createElement("svg",Cd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),mg||(mg=b.createElement("path",{fill:"var(--brig-accent)",d:"M19 32.238V13.762c0-.935 1.17-1.359 1.768-.64l7.698 9.238a1 1 0 0 1 0 1.28l-7.698 9.238c-.599.719-1.768.295-1.768-.64"})))};function Rd(){return Rd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rd.apply(null,arguments)}var eH=function(e){return b.createElement("svg",Rd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),vg||(vg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M23 10.25a7.75 7.75 0 0 0-7.537 5.936l2.049-1.755a.75.75 0 0 1 .976 1.139l-3.5 3A.75.75 0 0 1 13.75 18a9.25 9.25 0 1 1 2.355 6.167.75.75 0 0 1 1.118-1A7.75 7.75 0 1 0 23 10.25M19 32a1 1 0 1 1-2 0 1 1 0 0 1 2 0M8.75 36.5a.75.75 0 0 1 .75-.75h27a.75.75 0 0 1 0 1.5h-27a.75.75 0 0 1-.75-.75M13 33a1 1 0 1 0 0-2 1 1 0 0 0 0 2m15-1a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1",clipRule:"evenodd"})))},gg;function Dd(){return Dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dd.apply(null,arguments)}var tH=function(e){return b.createElement("svg",Dd({xmlns:"http://www.w3.org/2000/svg",width:46,height:46,fill:"none"},e),gg||(gg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M23.75 9.5a.75.75 0 0 0-1.5 0v16.19l-3.72-3.72a.75.75 0 1 0-1.06 1.06l5 5a.75.75 0 0 0 1.06 0l5-5a.75.75 0 1 0-1.06-1.06l-3.72 3.72zM9.5 35.75a.75.75 0 0 0 0 1.5h2.25a.75.75 0 0 0 0-1.5zm6.75 0a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5zm9 0a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5zm9 0a.75.75 0 0 0 0 1.5h2.25a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})))},xg;function Nd(){return Nd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nd.apply(null,arguments)}var rH=function(e){return b.createElement("svg",Nd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),xg||(xg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.618 7.235a.448.448 0 0 1 .765 0L21.615 19.1a.448.448 0 0 1-.382.68H6.77a.448.448 0 0 1-.382-.68zm2.046-.78a1.948 1.948 0 0 0-3.327 0l-7.23 11.864c-.791 1.298.143 2.962 1.663 2.962h14.462c1.52 0 2.454-1.664 1.663-2.962zM9.12 18.1l4.878-8.3 4.878 8.3z",clipRule:"evenodd"})))},yg;function Md(){return Md=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Md.apply(null,arguments)}var nH=function(e){return b.createElement("svg",Md({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),yg||(yg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M11 4.75a.75.75 0 0 1 .75.75v1.25h4.5V5.5a.75.75 0 0 1 1.5 0v1.25h2.464a3.036 3.036 0 0 1 3.036 3.036v10.428a3.036 3.036 0 0 1-3.036 3.036H7.786a3.036 3.036 0 0 1-3.036-3.036V9.786A3.036 3.036 0 0 1 7.786 6.75h2.464V5.5a.75.75 0 0 1 .75-.75m10.75 5c-.02-.832-.7-1.5-1.536-1.5H7.786c-.836 0-1.517.668-1.536 1.5zm-15.5 1.5v8.964c0 .848.688 1.536 1.536 1.536h12.428c.848 0 1.536-.688 1.536-1.536V11.25zM12 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0m2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2m4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-7 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2m4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0m2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2",clipRule:"evenodd"})))},_g,Eg;function kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kd.apply(null,arguments)}var Kp=function(e){return b.createElement("svg",kd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),_g||(_g=b.createElement("g",{clipPath:"url(#Medium=Close_svg__a)"},b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M21.53 6.47a.75.75 0 0 1 0 1.06L15.06 14l6.47 6.47a.75.75 0 0 1-1.06 1.06L14 15.06l-6.47 6.47a.75.75 0 1 1-1.06-1.06L12.94 14 6.47 7.53a.75.75 0 0 1 1.06-1.06L14 12.94l6.47-6.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"}))),Eg||(Eg=b.createElement("defs",null,b.createElement("clipPath",{id:"Medium=Close_svg__a"},b.createElement("path",{fill:"#fff",d:"M0 0h28v28H0z"})))))},wg;function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ld.apply(null,arguments)}var QT=function(e){return b.createElement("svg",Ld({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),wg||(wg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M23.03 8.03a.75.75 0 0 0-1.06-1.06L10.5 18.44l-4.47-4.47a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 0 0 1.06 0z",clipRule:"evenodd"})))},Sg,bg;function Bd(){return Bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bd.apply(null,arguments)}var Tg,JT=function(e){return b.createElement("svg",Bd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Sg||(Sg=b.createElement("path",{stroke:"var(--brig-accent)",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m7.99 7.99 12.02 12.02"})),bg||(bg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.536 10.261c3.019-.143 6.082 1.108 8.046 3.739a9.3 9.3 0 0 1-1.762 1.794.75.75 0 0 0 .916 1.188 10.8 10.8 0 0 0 2.388-2.566l.277-.416-.277-.416c-2.262-3.392-6.007-4.994-9.66-4.821a.75.75 0 1 0 .072 1.498M8.09 12.276A.75.75 0 0 0 7.16 11.1a10.7 10.7 0 0 0-2.284 2.484L4.599 14l.277.416A10.73 10.73 0 0 0 9.712 18.4a.75.75 0 1 0 .576-1.385A9.2 9.2 0 0 1 6.418 14a9.3 9.3 0 0 1 1.673-1.724M14 17.5a3 3 0 0 1-2.866-3.89q.057.069.121.133l3.625 3.626a3 3 0 0 1-.88.131",clipRule:"evenodd"})))};function Pd(){return Pd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pd.apply(null,arguments)}var Fg,e6=function(e){return b.createElement("svg",Pd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Tg||(Tg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M10.288 17.015A9.2 9.2 0 0 1 6.418 14c3.733-5 11.431-5 15.164 0a9.2 9.2 0 0 1-3.87 3.015.75.75 0 1 0 .576 1.385 10.73 10.73 0 0 0 4.836-3.984l.277-.416-.277-.416c-4.297-6.445-13.951-6.445-18.248 0L4.599 14l.277.416A10.73 10.73 0 0 0 9.712 18.4a.75.75 0 1 0 .576-1.385M14 17.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6",clipRule:"evenodd"})))};function zd(){return zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zd.apply(null,arguments)}var aH=function(e){return b.createElement("svg",zd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Fg||(Fg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M7.75 7.929a3.18 3.18 0 0 1 3.179-3.179h5.065c.843 0 1.651.335 2.248.931l2.077 2.077c.596.596.931 1.405.931 2.248V20.07a3.18 3.18 0 0 1-3.179 3.179H10.93a3.18 3.18 0 0 1-3.179-3.179zm3.179-1.679c-.928 0-1.679.752-1.679 1.679V20.07c0 .927.752 1.679 1.679 1.679h7.142c.927 0 1.679-.751 1.679-1.679V14.25h-2.036a1.964 1.964 0 0 1-1.964-1.964V9.5a.75.75 0 0 1 1.5 0v2.786c0 .256.208.464.464.464h2.036v-2.744c0-.445-.177-.872-.492-1.187l-2.077-2.077a1.68 1.68 0 0 0-1.187-.492zm.821 3.25a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75m0 4a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})))},Ag;function Ud(){return Ud=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ud.apply(null,arguments)}var PE=function(e){return b.createElement("svg",Ud({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Ag||(Ag=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M17.53 4.97a.75.75 0 0 1 0 1.06L9.56 14l7.97 7.97a.75.75 0 1 1-1.06 1.06l-8.5-8.5a.75.75 0 0 1 0-1.06l8.5-8.5a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})))},Og;function jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jd.apply(null,arguments)}var t6=function(e){return b.createElement("svg",jd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Og||(Og=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M10.47 23.03a.75.75 0 0 1 0-1.06L18.44 14l-7.97-7.97a.75.75 0 0 1 1.06-1.06l8.5 8.5a.75.75 0 0 1 0 1.06l-8.5 8.5a.75.75 0 0 1-1.06 0",clipRule:"evenodd"})))},Cg;function Id(){return Id=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Id.apply(null,arguments)}var iH=function(e){return b.createElement("svg",Id({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Cg||(Cg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M14.75 6a.75.75 0 0 0-1.5 0v8.69l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 0 0-1.06-1.06l-1.72 1.72zM6 21.25a.75.75 0 0 0 0 1.5h1.333a.75.75 0 0 0 0-1.5zm4 0a.75.75 0 0 0 0 1.5h2.667a.75.75 0 0 0 0-1.5zm5.333 0a.75.75 0 0 0 0 1.5H18a.75.75 0 0 0 0-1.5zm5.334 0a.75.75 0 0 0 0 1.5H22a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})))},Rg;function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hd.apply(null,arguments)}var Dg,r6=function(e){return b.createElement("svg",Hd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Rg||(Rg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.452 7.503a.6.6 0 0 1 1.097 0l.659 1.482a7.5 7.5 0 0 0 3.807 3.808l1.483.659a.6.6 0 0 1 0 1.096l-1.483.66a7.5 7.5 0 0 0-3.808 3.807l-.659 1.482a.6.6 0 0 1-1.096 0l-.659-1.482a7.5 7.5 0 0 0-3.808-3.808l-1.482-.659a.6.6 0 0 1 0-1.096l1.482-.66a7.5 7.5 0 0 0 3.808-3.807z",clipRule:"evenodd"})))};function Vd(){return Vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vd.apply(null,arguments)}var Ng,lH=function(e){return b.createElement("svg",Vd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Dg||(Dg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M14.75 7.5a.75.75 0 0 0-1.5 0v5.75H7.5a.75.75 0 1 0 0 1.5h5.75v5.75a.75.75 0 0 0 1.5 0v-5.75h5.75a.75.75 0 0 0 0-1.5h-5.75z",clipRule:"evenodd"})))};function Gd(){return Gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gd.apply(null,arguments)}var Mg,sH=function(e){return b.createElement("svg",Gd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Ng||(Ng=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.74 7.896a.305.305 0 0 1 .521 0l6.366 10.445a.305.305 0 0 1-.26.463H7.635a.305.305 0 0 1-.26-.463zm1.802-.78a1.805 1.805 0 0 0-3.082 0L6.095 17.56c-.733 1.202.132 2.743 1.54 2.743h12.731c1.409 0 2.274-1.54 1.542-2.743zm-4.977 9.727L14 11l3.434 5.843z",clipRule:"evenodd"})))};function $d(){return $d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$d.apply(null,arguments)}var kg,oH=function(e){return b.createElement("svg",$d({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Mg||(Mg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M14.261 7.896a.305.305 0 0 0-.52 0L7.375 18.341a.305.305 0 0 0 .26.463h12.731c.238 0 .384-.26.26-.463zm-1.801-.78a1.805 1.805 0 0 1 3.082 0l6.366 10.445c.732 1.202-.133 2.743-1.542 2.743H7.636c-1.409 0-2.274-1.54-1.541-2.743z",clipRule:"evenodd"})))};function Xd(){return Xd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xd.apply(null,arguments)}var Lg,uH=function(e){return b.createElement("svg",Xd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),kg||(kg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M17 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-8 2a2 2 0 1 1 4 0 2 2 0 0 1-4 0m2-8a2 2 0 1 0 0 4 2 2 0 0 0 0-4",clipRule:"evenodd"})))};function Yd(){return Yd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yd.apply(null,arguments)}var cH=function(e){return b.createElement("svg",Yd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Lg||(Lg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M20.03 7.97a.75.75 0 0 1 0 1.06L15.06 14l4.97 4.971a.75.75 0 0 1-1.06 1.06L14 15.062l-4.97 4.97a.75.75 0 1 1-1.06-1.06l4.97-4.97-4.97-4.97A.75.75 0 0 1 9.03 7.97L14 12.94l4.97-4.97a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})))},Bg;function qd(){return qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qd.apply(null,arguments)}var Pg,fH=function(e){return b.createElement("svg",qd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Bg||(Bg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M15.59 9.934a1.74 1.74 0 0 0-.46.816l-1.401 1.4a3.25 3.25 0 0 1 .801-3.277l1.06-1.06a3.25 3.25 0 0 1 4.597 4.596l-1.06 1.06a3.25 3.25 0 0 1-3.276.802l1.402-1.402c.297-.074.58-.227.813-.46l1.06-1.061a1.75 1.75 0 1 0-2.475-2.475zM8.874 14.53a3.25 3.25 0 0 1 3.278-.802L10.75 15.13a1.74 1.74 0 0 0-.816.462l-1.06 1.06a1.75 1.75 0 0 0 2.474 2.475l1.06-1.06c.234-.233.387-.516.462-.814l1.402-1.402a3.25 3.25 0 0 1-.802 3.276l-1.061 1.06a3.25 3.25 0 0 1-4.596-4.595zm1.062 2.476a.75.75 0 0 0 1.06 1.06l7.072-7.07a.75.75 0 1 0-1.061-1.061z",clipRule:"evenodd"})))};function Kd(){return Kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kd.apply(null,arguments)}var zg,n6=function(e){return b.createElement("svg",Kd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Pg||(Pg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M21.035 8.974a.75.75 0 0 1-.01 1.061l-9.175 9.002a.75.75 0 0 1-1.05 0l-3.823-3.75a.75.75 0 1 1 1.05-1.072l3.298 3.236 8.65-8.487a.75.75 0 0 1 1.06.01",clipRule:"evenodd"})))};function Zd(){return Zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zd.apply(null,arguments)}var hH=function(e){return b.createElement("svg",Zd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),zg||(zg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.632 6.5a2.25 2.25 0 0 0-2.164 1.632l-.034.118H7a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5h-4.434l-.034-.118A2.25 2.25 0 0 0 14.368 6.5zm1.296 1.75h-1.856a.75.75 0 0 1 .56-.25h.736a.75.75 0 0 1 .56.25M7 11.75a.75.75 0 0 0 0 1.5h.833l.766 6.513a2.25 2.25 0 0 0 2.235 1.987h6.332a2.25 2.25 0 0 0 2.235-1.987l.766-6.513H21a.75.75 0 0 0 0-1.5H7m3.089 7.838-.746-6.338h9.314l-.746 6.338a.75.75 0 0 1-.745.662h-6.332a.75.75 0 0 1-.745-.662M13.25 16a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0zm3 0a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})))},Ug;function Wd(){return Wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wd.apply(null,arguments)}var a6=function(e){return b.createElement("svg",Wd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Ug||(Ug=b.createElement("path",{fill:"var(--brig-accent)",d:"M12 14a2 2 0 1 1 4 0 2 2 0 0 1-4 0"})))},jg;function Qd(){return Qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qd.apply(null,arguments)}var Ig,i6=function(e){return b.createElement("svg",Qd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),jg||(jg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M14.51 18.551a.75.75 0 0 1-1.018 0l-6.5-6a.75.75 0 0 1 1.018-1.103L14 16.979l5.992-5.531a.75.75 0 0 1 1.018 1.102z",clipRule:"evenodd"})))};function Jd(){return Jd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jd.apply(null,arguments)}var Hg,dH=function(e){return b.createElement("svg",Jd({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Ig||(Ig=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.999 21.25a.75.75 0 0 0 .75-.75V9.31l2.718 2.72a.75.75 0 1 0 1.06-1.061l-3.998-4a.75.75 0 0 0-1.06 0l-4 4a.75.75 0 1 0 1.061 1.06l2.719-2.718V20.5c0 .414.335.75.75.75",clipRule:"evenodd"})))};function e1(){return e1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e1.apply(null,arguments)}var pH=function(e){return b.createElement("svg",e1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Hg||(Hg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M15.54 7.554a2.75 2.75 0 0 1 3.89 0l1.012 1.012a2.75 2.75 0 0 1 0 3.889l-1.658 1.658-6.327 6.327a2.75 2.75 0 0 1-1.945.805H7.5a.75.75 0 0 1-.75-.75v-3.012c0-.729.29-1.428.805-1.944l6.328-6.327zm2.829 1.06a1.25 1.25 0 0 0-1.768 0l-1.127 1.128 2.78 2.78 1.127-1.128a1.25 1.25 0 0 0 0-1.768zm-1.176 4.968-2.78-2.78L8.616 16.6a1.25 1.25 0 0 0-.366.884v2.262h2.262c.332 0 .65-.131.884-.366z",clipRule:"evenodd"})))},Vg;function t1(){return t1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t1.apply(null,arguments)}var mH=function(e){return b.createElement("svg",t1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Vg||(Vg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M8.25 11.5v6c0 .138.112.25.25.25h11a.25.25 0 0 0 .25-.25V13a.25.25 0 0 0-.25-.25h-4.055a1.75 1.75 0 0 1-1.3-.58l-.604-.67zm.25-2.75a1.75 1.75 0 0 0-1.75 1.75v7c0 .966.784 1.75 1.75 1.75h11a1.75 1.75 0 0 0 1.75-1.75V13a1.75 1.75 0 0 0-1.75-1.75h-4.055a.25.25 0 0 1-.186-.083L13.606 9.33a1.75 1.75 0 0 0-1.3-.579z",clipRule:"evenodd"})))},Gg;function r1(){return r1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r1.apply(null,arguments)}var l6=function(e){return b.createElement("svg",r1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Gg||(Gg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M9.449 14.509a.75.75 0 0 1 0-1.018l6-6.499A.75.75 0 0 1 16.55 8.01L11.021 14l5.53 5.992a.75.75 0 1 1-1.102 1.018z",clipRule:"evenodd"})))},$g;function n1(){return n1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n1.apply(null,arguments)}var s6=function(e){return b.createElement("svg",n1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),$g||($g=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M18.553 13.492a.75.75 0 0 1 0 1.017l-6.002 6.5a.75.75 0 0 1-1.102-1.018l5.532-5.99-5.532-5.992a.75.75 0 0 1 1.102-1.018z",clipRule:"evenodd"})))},Xg;function a1(){return a1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a1.apply(null,arguments)}var vH=function(e){return b.createElement("svg",a1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Xg||(Xg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M8.249 14a5.75 5.75 0 1 1 .988 3.224.75.75 0 0 0-1.241.843A7.25 7.25 0 1 0 6.749 14a.75.75 0 0 0 1.5 0m6.5-3.5a.75.75 0 0 0-1.5 0v3.125l-1.7 1.275a.75.75 0 0 0 .901 1.2l2-1.5.3-.226V10.5",clipRule:"evenodd"})))},Yg;function i1(){return i1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i1.apply(null,arguments)}var qg,zE=function(e){return b.createElement("svg",i1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),Yg||(Yg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.492 9.454a.75.75 0 0 1 1.017 0l6.5 5.995a.75.75 0 0 1-1.018 1.102l-5.99-5.526-5.993 5.526a.75.75 0 1 1-1.016-1.102z",clipRule:"evenodd"})))};function l1(){return l1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l1.apply(null,arguments)}var gH=function(e){return b.createElement("svg",l1({xmlns:"http://www.w3.org/2000/svg",width:28,height:28,fill:"none"},e),qg||(qg=b.createElement("path",{fill:"var(--brig-accent)",fillRule:"evenodd",d:"M13.999 6.75a.75.75 0 0 1 .75.75v11.19l2.718-2.72a.75.75 0 1 1 1.06 1.061l-3.998 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.061-1.06l2.719 2.718V7.5a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})))};function Kg(e){var{className:t,readOnly:r,icon:n,variant:a="default",error:i="",scale:l="large",errorPlacement:s="bottom",password:o=!1,value:u,onChange:c}=e,f=Lr(e,["className","readOnly","icon","variant","error","scale","errorPlacement","password","value","onChange"]);const h=He(xn.inputContainer,xn[a],r&&xn.readonly,i!==""&&xn.isError),[d,p]=b.useState(o),[m,y]=b.useState(!1);return P.createElement("div",{className:h},P.createElement("div",{className:xn.inputWrapper},n&&P.createElement("div",{className:He(xn[l],xn.icon_container)},P.createElement(Yp,{color:i?"red":"accent"},n)),o&&P.createElement("div",{className:xn.password_icon,onClick:()=>p(!d)},d?P.createElement(JT,null):P.createElement(e6,null)),P.createElement(BE.Popover,{isOpen:m,content:P.createElement(XT,{show:i!=="",placement:s,arrow:!0,variant:"error"},i),align:"start",positions:["bottom","top","left","right"],padding:20,containerStyle:{zIndex:"var(--z-index-modal-5)"}},P.createElement("input",Object.assign({className:He(xn.input,xn[l],o&&xn.pass,n&&xn.input_icon,t),onMouseEnter:()=>{i&&y(!0)},onMouseLeave:()=>{i&&y(!1)},value:u,onChange:v=>{c&&c(v)},readOnly:r,type:d?"password":"text"},f)))))}var o6="Toggle-module_toggle__kmzmH",u6="Toggle-module_container__ftUHq",c6="Toggle-module_circle__dHPyg",f6="Toggle-module_checked__wOt93",h6="Toggle-module_null__DhD1m",d6="Toggle-module_input__lR7ic";function xH(e){var{className:t,enabled:r,onClick:n}=e,a=Lr(e,["className","enabled","onClick"]);const i=He(o6,r&&f6,"noselect",t);return r!==null?P.createElement("div",Object.assign({onClick:n,className:i},a),P.createElement("div",{className:u6}),P.createElement("div",{className:c6}),P.createElement("input",{type:"checkbox",className:d6,name:"enableLink",defaultChecked:r})):P.createElement("div",{className:h6})}var p6="Calendar-module_calendar__oplxF",m6="Calendar-module_days__ntTg4",v6="Calendar-module_weekdays__YzRfx",g6="Calendar-module_weekdaysContent__WoOsl",x6="Calendar-module_weekday__k-7Vr",y6="Calendar-module_months__tRgui",_6="Calendar-module_monthsTitle__ru4Ev",E6="Calendar-module_monthsTitleCurrent__s4oho",w6="Calendar-module_buttons__96bB4",S6="Calendar-module_selectorsTime__yoexZ",Zg="Calendar-module_selectorTime__o3Jtp",b6="Calendar-module_content__t-20M",Wg="Calendar-module_selectTimeInputs__KdUlz",Qg="Calendar-module_selectTime__7X4lf",Jg="Calendar-module_inputTime__dCd-x",T6="ModalForm-module_modalForm__--7aR",F6="ModalForm-module_header__c2Duu",A6="ModalForm-module_items__wncpH",O6="ModalForm-module_body__B0uXr",C6="ModalForm-module_title__lI7A9",R6="ModalForm-module_center__LLIpT",D6="ModalForm-module_left__fQpC3";function N6(e){var{className:t,textTitle:r="",showBack:n=!1,onClose:a,onBack:i=()=>{},isLoading:l=!1,children:s}=e,o=Lr(e,["className","textTitle","showBack","onClose","onBack","isLoading","children"]);return P.createElement("div",Object.assign({className:He(T6,t)},o),P.createElement("div",{className:F6},P.createElement("div",{className:A6},P.createElement($T,{justify:"center",align:"center",gap:"12",max:!0},n&&P.createElement(an,{icon:P.createElement(PE,null),onClick:i,variant:"merging",form:"circle",size:"small"}),P.createElement("span",{className:He(C6,n?R6:D6)},P.createElement(r6,null),r),a&&P.createElement(an,{icon:P.createElement(Kp,null),onClick:a,form:"circle",variant:"without",size:"small"})))),P.createElement("div",{className:O6},l?P.createElement("div",{style:{height:"42px",width:"42px"}},P.createElement(Xp,null)):s))}var M6="Day-module_day__RJGe9",k6="Day-module_current__lFGVF",L6="Day-module_today__1sLwl",B6="Day-module_selected__QNoF9";const P6=P.memo(e=>{var{date:t,isToday:r,isCurrentMonth:n,isSelected:a,onClick:i}=e,l=Lr(e,["date","isToday","isCurrentMonth","isSelected","onClick"]);const s=He(M6,r&&L6,n&&k6,a&&B6),o=b.useCallback(()=>{n&&i?.(t)},[n,i,t]);return P.createElement("div",Object.assign({onClick:o,className:s},l),t.getDate())}),z6=["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],U6=e=>{const t=new Date;return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate()};var Za={select:"Select-module_select__cjdcr",selected:"Select-module_selected__8A13A",arrow:"Select-module_arrow__w35wW",option:"Select-module_option__Hvo8n",selectedOption:"Select-module_selectedOption__IlZDA",options:"Select-module_options__O-IPr",small:"Select-module_small__N3oFV",readOnly:"Select-module_readOnly__Z3e2j"},Vi={scrollbox:"ScrollBox-module_scrollbox__y-3v5",content:"ScrollBox-module_content__SY9EI",row:"ScrollBox-module_row__-fdUs",column:"ScrollBox-module_column__pv6w2",track:"ScrollBox-module_track__ZElH5",thumb:"ScrollBox-module_thumb__KbNkb",scrollShadowsTop:"ScrollBox-module_scrollShadowsTop__vNoEE",scrollShadowsBottom:"ScrollBox-module_scrollShadowsBottom__40akP"};const j6=P.memo(e=>{var{className:t,height:r="300px",direction:n="column",shadows:a=!0,children:i,position:l="top",savePosition:s=""}=e,o=Lr(e,["className","height","direction","shadows","children","position","savePosition"]);const u=He(Vi.scrollbox,t),c=b.useRef(null),f=b.useRef(null),[h,d]=b.useState(0),[p,m]=b.useState(0),[y,v]=b.useState(!1),[g,x]=b.useState({top:!1,bottom:!1}),[_,w]=b.useState(0),[T,E]=b.useState(0),O=()=>{if(c.current){const j=c.current.clientHeight,G=c.current.scrollHeight;d(G),m(j<G?j/G*j:0)}};b.useEffect(()=>(O(),window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O)}),[i]);const F=b.useCallback(()=>{if(!f.current)return;const{scrollTop:j}=c.current;f.current.style.transform=`translateY(${j/(h-c.current.clientHeight)*(parseFloat(r)-p)}px)`,a&&x({top:j>50,bottom:j+c.current.clientHeight+50<h})},[r,h,a,p]);b.useEffect(()=>{if(s.length>0){const j=sessionStorage.getItem(`scrollPos-${s}`);j&&c.current&&(c.current.scrollTop=parseInt(j,10));const G=()=>{c.current&&sessionStorage.setItem(`scrollPos-${s}`,String(c.current.scrollTop))};return window.addEventListener("beforeunload",G),()=>{window.removeEventListener("beforeunload",G)}}return()=>{}},[s]),b.useEffect(()=>{F()},[F]),b.useEffect(()=>{l==="bottom"&&c.current&&c.current.scroll({top:h,behavior:"smooth"})},[h,l]);const R=b.useCallback(j=>{if(!y||!c.current)return;const G=j.clientY-_,ce=h/parseFloat(r);c.current.scrollTop=T+G*ce,F()},[F,r,y,h,T,_]),z=()=>{v(!1)};return b.useEffect(()=>(y&&(window.addEventListener("mousemove",R),window.addEventListener("mouseup",z)),()=>{window.removeEventListener("mousemove",R),window.removeEventListener("mouseup",z)}),[y,R,z]),b.useEffect(()=>{const j=new ResizeObserver(O);return c.current&&j.observe(c.current),()=>{c.current&&j.unobserve(c.current)}},[]),P.createElement("div",Object.assign({className:He(u,a&&g.top&&Vi.scrollShadowsTop,a&&g.bottom&&Vi.scrollShadowsBottom),style:{height:r}},o),P.createElement("div",{className:He(Vi.content,Vi[n]),ref:c,onScroll:F},i),P.createElement("div",{className:Vi.track},p>0&&P.createElement("div",{className:Vi.thumb,ref:f,onMouseDown:j=>{j.preventDefault(),v(!0),w(j.clientY),c.current&&E(c.current.scrollTop)},style:{height:`${p}px`}})))}),e2=e=>{var{className:t,options:r,value:n=r[0],onChange:a,variant:i="large",readOnly:l,view:s=v=>v}=e,o=Lr(e,["className","options","value","onChange","variant","readOnly","view"]);const u=b.useRef(null),[c,f]=b.useState(!1),[h,d]=b.useState(0),p=He(Za.select,l&&Za.readOnly,Za[i],"noselect",t),m=b.useCallback(v=>{a?.(v),f(!1)},[a]),y=b.useMemo(()=>P.createElement("div",{style:{width:h>150?`${h}px`:"auto"}},P.createElement(j6,{height:r.length>6?"244px":"auto",className:Za.options},r.map((v,g)=>P.createElement("div",{className:He(Za.option,v===n&&Za.selectedOption,"noselect"),key:g,onClick:()=>m(v)},s(v))))),[r,s,n,h,m,f]);return b.useEffect(()=>{u.current&&d(u.current.clientWidth)},[c]),P.createElement(BE.Popover,{isOpen:c,content:y,onClickOutside:()=>f(!1),positions:"bottom",ref:u,containerStyle:{zIndex:"var(--z-index-modal-5)"},align:"end",padding:2},P.createElement("div",Object.assign({onClick:()=>f(v=>!v),className:p},o),P.createElement("div",{className:Za.selected},s(n)),P.createElement(Yp,{color:l?"danc-accent":"accent",className:Za.arrow},c?P.createElement(zE,null):P.createElement(i6,null))))},yH=P.memo(({className:e,onClose:t,value:r,onSave:n,editable:a=!1,utc:i=!0,textHours:l="Час",textMinutes:s="Мин",textSave:o="Сохранить",textWeekdays:u=["ПН","ВТ","СР","ЧТ","ПТ","СБ","ВС"]})=>{const[c,f]=b.useState(r),[h,d]=b.useState(r),p=b.useMemo(()=>Array.from({length:24},(F,R)=>`${R}`.padStart(2,"0")),[]),m=b.useMemo(()=>Array.from({length:60},(F,R)=>`${R}`.padStart(2,"0")),[]),y=He(p6,e),v=b.useCallback(()=>{f(F=>{const R=new Date(F);return i?R.setUTCMonth(F.getUTCMonth()-1):R.setMonth(F.getMonth()-1),R})},[]),g=b.useCallback(()=>{f(F=>{const R=new Date(F);return i?R.setUTCMonth(F.getUTCMonth()+1):R.setMonth(F.getMonth()+1),R})},[]),x=b.useCallback(F=>{d(R=>i?new Date(Date.UTC(F.getUTCFullYear(),F.getUTCMonth(),F.getUTCDate(),R.getUTCHours(),R.getUTCMinutes(),R.getUTCSeconds(),R.getUTCMilliseconds())):new Date(F.getFullYear(),F.getMonth(),F.getDate(),R.getHours(),R.getMinutes(),R.getSeconds(),R.getMilliseconds()))},[]),_=b.useCallback(()=>{f(r),d(r)},[r]),w=b.useCallback(()=>{n(h)},[h]),T=b.useMemo(()=>function(F){const R=F.getUTCFullYear(),z=F.getUTCMonth(),j=new Date(Date.UTC(R,z,1)),G=new Date(Date.UTC(R,z+1,0)),ce=j.getUTCDay(),L=G.getUTCDate(),U=new Date,ee=fe=>fe===U.getUTCDate()&&z===U.getUTCMonth()&&R===U.getUTCFullYear(),oe=[];for(let fe=ce-2;fe>=0;fe--)oe.push({date:new Date(Date.UTC(R,z,-fe)),isCurrentMonth:!1,isToday:!1});for(let fe=1;fe<=L;fe++)oe.push({date:new Date(Date.UTC(R,z,fe)),isCurrentMonth:!0,isToday:ee(fe)});const de=42-oe.length;for(let fe=1;fe<=de;fe++)oe.push({date:new Date(Date.UTC(R,z+1,fe)),isCurrentMonth:!1,isToday:!1});return oe}(c),[c]),E=b.useCallback(F=>{const R=new Date(h);i?R.setUTCHours(F):R.setHours(F),d(R)},[h]),O=b.useCallback(F=>{const R=new Date(h);i?R.setUTCMinutes(F):R.setMinutes(F),d(R)},[h]);return P.createElement("div",{className:y},P.createElement(N6,{textTitle:"Календарь",onClose:t},P.createElement("div",{className:b6},a&&P.createElement("div",{className:S6},P.createElement("div",{className:Zg},P.createElement("p",null,l),P.createElement("div",{className:Wg},P.createElement(Kg,{className:Jg,type:"text",onChange:F=>{const R=F.target.value;if(/^\d*$/.test(R))if(R==="")E(0);else{const z=parseInt(R,10);z>=0&&z<=23&&E(z)}},value:String(i?h.getUTCHours():h.getHours()).padStart(2,"0")}),P.createElement(e2,{className:Qg,options:p,value:String(i?h.getUTCHours():h.getHours()).padStart(2,"0"),onChange:E,variant:"small"}))),P.createElement("div",{className:Zg},P.createElement("p",null,s),P.createElement("div",{className:Wg},P.createElement(Kg,{className:Jg,onChange:F=>{const R=F.target.value;if(/^\d*$/.test(R))if(R==="")O(0);else{const z=parseInt(R,10);z>=0&&z<=59&&O(z)}},value:String(i?h.getUTCMinutes():h.getMinutes()).padStart(2,"0"),type:"text"}),P.createElement(e2,{className:Qg,options:m,value:String(i?h.getUTCMinutes():h.getMinutes()).padStart(2,"0"),onChange:O,variant:"small"})))),P.createElement("div",{className:y6},P.createElement(an,{icon:P.createElement(l6,null),size:"small",variant:"merging",form:"circle",rounded:!0,onClick:v,style:{display:"flex",alignSelf:"center"}}),P.createElement("p",{className:He(_6,U6(c)&&E6)},z6[i?c.getUTCMonth():c.getMonth()]," ",i?c.getUTCFullYear():c.getFullYear()),P.createElement(an,{icon:P.createElement(s6,null),size:"small",variant:"merging",form:"circle",rounded:!0,onClick:g,style:{display:"flex",alignSelf:"center"}}))),P.createElement("div",{className:v6},P.createElement("div",{className:g6},u.map(F=>P.createElement("div",{className:x6,key:F},F)))),P.createElement("div",{className:m6},T.map(F=>{return P.createElement(P6,Object.assign({key:F.date.getTime()},F,{onClick:x,isSelected:(R=h,z=F.date,R.getUTCFullYear()===z.getUTCFullYear()&&R.getUTCMonth()===z.getUTCMonth()&&R.getUTCDate()===z.getUTCDate())}));var R,z})),P.createElement("div",{className:w6},P.createElement(an,{icon:P.createElement(qp,null),variant:"merging",size:"large",style:{borderRight:"2px solid var(--mist-accent)",borderBottomLeftRadius:"var(--radius-lb)"},onClick:w},o),P.createElement(an,{icon:P.createElement(WT,null),variant:"merging",size:"large",form:"circle",onClick:_,style:{borderBottomRightRadius:"var(--radius-lb)"}}))))});var Ln={modal:"Modal-module_modal__aD7aP",backdrop:"Modal-module_backdrop__GVUh4",noClick:"Modal-module_noClick__Bcrel","m-1":"Modal-module_m-1__m-vl0","m-2":"Modal-module_m-2__ySFWL","m-3":"Modal-module_m-3__53uJP","m-4":"Modal-module_m-4__NHj7N","m-5":"Modal-module_m-5__tpvIk","m-notification":"Modal-module_m-notification__R7fCD","m-max":"Modal-module_m-max__lqguX","b-1":"Modal-module_b-1__RFD4J","b-2":"Modal-module_b-2__iDjqS","b-3":"Modal-module_b-3__MT9mq","b-4":"Modal-module_b-4__N9Twx","b-5":"Modal-module_b-5__tYlHf","b-notification":"Modal-module_b-notification__DbEmZ","b-max":"Modal-module_b-max__8GQxt"};function I6({id:e,children:t}){const[r,n]=b.useState();return b.useEffect(()=>{if(e){const a=document.getElementById(e);if(!a)throw new Error(`Portal (${e}) not found...`);n(a)}},[e]),r?$p.createPortal(t,r):null}function H6(e){var{classNameModal:t,classNameBackdrop:r,children:n,onClose:a,indexModal:i="m-1",indexBackdrop:l="b-1",withoutBlur:s=!1,portalId:o="modal",position:u="center",offset:c={},disablePortal:f=!1}=e,h=Lr(e,["classNameModal","classNameBackdrop","children","onClose","indexModal","indexBackdrop","withoutBlur","portalId","position","offset","disablePortal"]);const d=Object.assign(Object.assign(Object.assign(Object.assign({},c.top!==void 0&&{top:c.top}),c.right!==void 0&&{right:c.right}),c.bottom!==void 0&&{bottom:c.bottom}),c.left!==void 0&&{left:c.left});b.useLayoutEffect(()=>{(m=>{if(document.getElementById(m.id))return;const{id:y,mountNode:v=document.body}=m,g=document.createElement("div");g.setAttribute("id",y),v.appendChild(g)})({id:o})},[o]);const p=s?P.createElement("div",Object.assign({className:He(Ln.modal,Ln[i],t),"data-position":u,style:d},h),n):a?P.createElement(P.Fragment,null,P.createElement("div",{className:He(Ln.backdrop,Ln[l],r),onClick:a}),P.createElement("div",Object.assign({className:He(Ln.modal,Ln[i],t),"data-position":u,style:d},h),n)):P.createElement(P.Fragment,null,P.createElement("div",{className:He(Ln.backdrop,Ln[l],Ln.noClick,r)}),P.createElement("div",Object.assign({className:He(Ln.modal,Ln[i],t),"data-position":u,style:d},h),n));return f?p:P.createElement(I6,{id:o},p)}var Ll={container:"Checkbox-module_container__aV9qz",checked:"Checkbox-module_checked__3yAq6",small:"Checkbox-module_small__q3hYM",large:"Checkbox-module_large__w6NyW",checkmark:"Checkbox-module_checkmark__ES9N8",checkbox:"Checkbox-module_checkbox__lSeQj",disable:"Checkbox-module_disable__fWLSn"};const _H=e=>{var{className:t,checked:r=!1,variant:n="small",disabled:a=!1,icon:i,mode:l="default",onChange:s,onClick:o}=e,u=Lr(e,["className","checked","variant","disabled","icon","mode","onChange","onClick"]);const[c,f]=b.useState(()=>r),h=He(Ll.container,Ll[n],a&&Ll.disable,c&&Ll.checked,t),d=b.useCallback(()=>{l==="default"?f(y=>!y):l==="controlled"&&f(r)},[l,r]),p=b.useCallback(y=>{d(),s&&s(y)},[d]),m=b.useCallback(y=>{d(),o&&o(y)},[d]);return b.useEffect(()=>{d()},[d]),P.createElement("div",Object.assign({className:h,onClick:m},u),P.createElement("input",{type:"checkbox",className:Ll.checkbox,checked:c,onChange:p,disabled:a}),P.createElement("div",{className:He(Ll.checkmark)},P.createElement(Yp,{reverseColor:c,color:c?"blue":"accent",hover:!0},i??(y=>{switch(y){case"small":return P.createElement(n6,null);case"medium":return P.createElement(QT,null);case"large":return P.createElement(qp,null)}})(n))))};var Bl={sortButton:"SortButton-module_sortButton__1M8IW",pointButton:"SortButton-module_pointButton__Hj5Md",buttonText:"SortButton-module_buttonText__MEJXt",icon:"SortButton-module_icon__uvJlj",appear:"SortButton-module_appear__OUAL9",disable:"SortButton-module_disable__LslDR",desc:"SortButton-module_desc__9fvOz",asc:"SortButton-module_asc__qOUw4",active:"SortButton-module_active__YTxK-"};function EH(e){var{className:t,sortKey:r,children:n,onChange:a,initialMode:i="disable"}=e,l=Lr(e,["className","sortKey","children","onChange","initialMode"]);const[s,o]=b.useState(i),u=He(n?Bl.sortButton:Bl.pointButton,Bl[s!=="disable"?"active":""],t),c=b.useCallback(()=>P.createElement("div",{className:He(Bl.icon,Bl[s])},P.createElement(zE,null)),[s]),f=b.useCallback(()=>n?P.createElement(P.Fragment,null,c(),P.createElement(ll,{weight:"medium",size:"m",className:Bl.buttonText},n)):s!=="disable"?c():P.createElement(a6,null),[n,s,c]);return b.useEffect(()=>{o(i)},[i]),P.createElement("div",Object.assign({className:u,onClick:()=>{const h=s==="asc"?"desc":"asc";o(h),a&&a(r,h)}},l),f())}var sh={container:"Paginator-module_container__HSfic",nums:"Paginator-module_nums__QabSO"};function wH({onNextPageClick:e,onPrevPageClick:t,onPageClick:r,totalPageCount:n,value:a,maxNumsCount:i=7,disableLeft:l=!1,disableRight:s=!1,textDelimiter:o="...",className:u}){const c=He(sh.paginator,u),f=b.useMemo(()=>Array.from({length:n},(d,p)=>p),[n]),h=(()=>{const d=Math.max(a,0),p=Math.max(n,1);return n<=i?f:d<Math.floor(i/2)?[...f.slice(0,i-1),null,p-1]:d>=p-Math.floor(i/2)?[0,null,...f.slice(p-i+1)]:[0,null,...f.slice(d-Math.floor(i/2)+1,d+Math.ceil(i/2)-1),null,p-1]})();return n>0&&P.createElement("div",{className:c},P.createElement("div",{className:sh.container},n>1&&P.createElement(an,{icon:P.createElement(PE,null),form:"circle",rounded:!0,size:"small",onClick:d=>{const p=a-1;p>=0&&r(p),t&&t(d)},disabled:l}),P.createElement("div",{className:sh.nums},h.map((d,p)=>d!==null?P.createElement(an,{key:p,active:d===a,form:"circle",rounded:!0,size:"small",onClick:()=>r(d),variant:d===a?"default":"without",style:{width:"fit-content",height:"40px",border:0,padding:"6px 12px"},readOnly:d===a},P.createElement(ll,{size:"m",weight:"medium",mono:!0},d+1)):P.createElement(ll,{size:"m",color:"accent"},o))),n>1&&P.createElement(an,{icon:P.createElement(t6,null),form:"circle",rounded:!0,size:"small",onClick:d=>{const p=a+1;p<n&&r(p),e&&e(d)},disabled:s})))}var V6="ModalFormConfirm-module_modalFormConfirm__RrXyE",G6="ModalFormConfirm-module_header__uxItH",$6="ModalFormConfirm-module_message__aD1Rm",X6="ModalFormConfirm-module_body__vaF3U",Y6="ModalFormConfirm-module_buttons__gHQjM";function SH(e){var{message:t="",onClose:r=()=>{},onConfirm:n=()=>{},onCancel:a=()=>{},textTitle:i="Подтверждение",textConfirm:l="Подтвердить",textCancel:s="Отменить",className:o}=e,u=Lr(e,["message","onClose","onConfirm","onCancel","textTitle","textConfirm","textCancel","className"]);const c=He(V6,o);return P.createElement("div",Object.assign({className:c},u),P.createElement("div",{className:G6},P.createElement(ll,{size:"xxxl",color:"accent"},i),P.createElement(an,{icon:P.createElement(Kp,null),onClick:r,form:"circle",variant:"merging",size:"small",style:{zIndex:1,borderTopRightRadius:"var(--radius-lb)"}})),P.createElement("div",{className:X6},P.createElement("p",{className:$6},t),P.createElement("div",{className:Y6},P.createElement(an,{variant:"merging",icon:P.createElement(qp,null),style:{borderRight:"2px solid var(--mist-accent)",borderBottomLeftRadius:"var(--radius-lb)"},onClick:n},l),P.createElement(an,{variant:"merging",icon:P.createElement(ZT,null),style:{borderBottomRightRadius:"var(--radius-lb)"},onClick:a},s))))}var ec={sortbar:"SortBar-module_sortbar__Z6wql",flex:"SortBar-module_flex__1o3kT",grid:"SortBar-module_grid__0L8P5"};function bH({className:e,data:t,mode:r="flex",columns:n=[]}){const a=He(ec.sortbar,ec[r],e),i=({value:l,view:s})=>s?s(l):P.createElement(ll,{size:"m"},l);return r==="grid"?P.createElement("div",{className:a,style:{gridTemplateColumns:`${n.join(" ")}`}},t.map((l,s)=>P.createElement("div",{key:s,className:ec.cell},i(l)))):P.createElement("div",{className:a},t.map((l,s)=>P.createElement("div",{key:s,className:ec.cell,style:n[s]?{width:n[s]}:{flex:1}},i(l))))}var Pl={modalstatus:"ModalStatus-module_modalstatus__zrIhP",content:"ModalStatus-module_content__m1OWo",text:"ModalStatus-module_text__yspiI",error:"ModalStatus-module_error__vltEN",warning:"ModalStatus-module_warning__5vlw7",info:"ModalStatus-module_info__wu8CL",img_container:"ModalStatus-module_img_container__iMZW4",closeButton:"ModalStatus-module_closeButton__7HMOP"};const q6=()=>P.createElement("svg",{width:"250",height:"134",viewBox:"0 0 250 134",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P.createElement("circle",{cx:"125",cy:"125",r:"104",fill:"var(--mist-red)",stroke:"var(--mist-red)",strokeWidth:"42"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M81 50C81 52.2091 79.2091 54 77 54C74.7909 54 73 52.2091 73 50C73 47.7909 74.7909 46 77 46C79.2091 46 81 47.7909 81 50ZM177 50C177 52.2091 175.209 54 173 54C170.791 54 169 52.2091 169 50C169 47.7909 170.791 46 173 46C175.209 46 177 47.7909 177 50ZM76.0941 91.6743C75.1694 92.2785 73.93 92.0186 73.3259 91.0939C72.7218 90.1692 72.9816 88.9298 73.9063 88.3257C103.142 69.2248 146.858 69.2248 176.094 88.3257C177.019 88.9298 177.279 90.1692 176.675 91.0939C176.07 92.0186 174.831 92.2785 173.906 91.6743C146 73.4419 104.001 73.4419 76.0941 91.6743Z",fill:"var(--red)"})),K6=()=>P.createElement("svg",{width:"250",height:"135",viewBox:"0 0 250 135",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P.createElement("circle",{cx:"125",cy:"125",r:"104",fill:"var(--mist-blue)",stroke:"var(--mist-blue)",strokeWidth:"42"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M81 51C81 53.2091 79.2091 55 77 55C74.7909 55 73 53.2091 73 51C73 48.7909 74.7909 47 77 47C79.2091 47 81 48.7909 81 51ZM177 51C177 53.2091 175.209 55 173 55C170.791 55 169 53.2091 169 51C169 48.7909 170.791 47 173 47C175.209 47 177 48.7909 177 51ZM76.0941 75.3257C75.1694 74.7215 73.93 74.9814 73.3259 75.9061C72.7218 76.8308 72.9816 78.0702 73.9063 78.6743C103.142 97.7752 146.858 97.7752 176.094 78.6743C177.019 78.0702 177.279 76.8308 176.675 75.9061C176.07 74.9814 174.831 74.7215 173.906 75.3257C146 93.5581 104.001 93.5581 76.0941 75.3257Z",fill:"var(--blue)"})),Z6=()=>P.createElement("svg",{width:"250",height:"134",viewBox:"0 0 250 134",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P.createElement("circle",{cx:"125",cy:"125",r:"104",fill:"var(--mist-yellow)",stroke:"var(--mist-yellow)",strokeWidth:"42"}),P.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M81 50C81 52.2091 79.2092 54 77 54C74.7909 54 73 52.2091 73 50C73 47.7909 74.7909 46 77 46C79.2092 46 81 47.7909 81 50ZM177 50C177 52.2091 175.209 54 173 54C170.791 54 169 52.2091 169 50C169 47.7909 170.791 46 173 46C175.209 46 177 47.7909 177 50ZM75.2775 91.9807C74.1836 92.1338 73.1727 91.3712 73.0196 90.2773C72.8664 89.1834 73.6291 88.1725 74.723 88.0193L174.723 74.0193C175.817 73.8662 176.828 74.6288 176.981 75.7227C177.134 76.8166 176.371 77.8275 175.278 77.9807L75.2775 91.9807Z",fill:"var(--yellow)"}));function W6({title:e,onClose:t,variant:r,className:n,children:a}){const i=He(Pl.modalstatus,Pl[r],n);return P.createElement("div",{className:i},P.createElement(an,{className:Pl.closeButton,icon:P.createElement(Kp,null),onClick:t,form:"circle",size:"small",variant:"merging"}),P.createElement("div",{className:Pl.content},P.createElement(ll,{size:"xxxl"},e||""),P.createElement("div",{className:Pl.text},a&&(typeof a=="string"?P.createElement(ll,{size:"l"},a):a))),P.createElement("div",{className:Pl.img_container},(l=>{switch(l){case"error":return P.createElement(q6,null);case"warning":return P.createElement(Z6,null);case"info":return P.createElement(K6,null);default:return P.createElement(P.Fragment,null)}})(r)))}const t2={light:"light",dark:"dark"},UE=b.createContext(void 0),r2="theme";function TH({defaultTheme:e,children:t}){const[r,n]=b.useState("light"),[a,i]=b.useState(!1);return b.useEffect(()=>{n(function(l){if(typeof window>"u")return l||"light";try{const s=localStorage.getItem(r2);if(s&&t2[s])return s}catch(s){console.warn("Failed to read theme from localStorage:",s)}return l||(typeof window.matchMedia=="function"&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}(e)),i(!0)},[e]),b.useEffect(()=>{if(a){try{localStorage.setItem(r2,r)}catch(l){console.warn("Failed to save theme to localStorage:",l)}if(typeof document<"u"){const l=document.createElement("style");l.innerHTML="* { transition: none !important; }",document.head.appendChild(l),document.body.classList.remove("light","dark"),document.body.classList.add(r),setTimeout(()=>{document.head.contains(l)&&document.head.removeChild(l)},10)}}},[r,a]),b.useEffect(()=>{if(typeof window>"u")return;const l=window.matchMedia("(prefers-color-scheme: dark)");if(typeof l.addEventListener=="function"){const s=o=>{const u=o.matches?"dark":"light";n(u)};return l.addEventListener("change",s),()=>{l.removeEventListener("change",s)}}},[]),a?P.createElement(UE.Provider,{value:{theme:r,setTheme:n,supportedThemes:t2}},t):null}const Q6=(e,t)=>{const{render:r}=(n=>{const[a,i]=b.useState(!0);return{render:l=>a&&P.createElement(H6,{classNameBackdrop:n?.classNameBackdrop,classNameModal:n?.classNameModal,indexBackdrop:n?.indexBackdrop,onClose:n?.onCloseModal,indexModal:n?.indexModal,withoutBlur:n?.withoutBlur,portalId:n?.portalId,position:n?.position,offset:n?.offset,disablePortal:n?.disablePortal},l),setIsRender:i}})(Object.assign({portalId:"modalPool"},e?.opts));return()=>{if(!e)return null;const n=e.opts;if((a=>a.type==="status")(n)){const a=n;return r(P.createElement(W6,{className:a.classNameStatus,variant:a.variant,title:a.title,onClose:()=>{var i;(i=a.onCloseStatus)===null||i===void 0||i.call(a),t(e.id)}},a.text))}if((a=>a.type==="loader")(n)){const a=n;return r(P.createElement(Xp,{size:"120px",className:a.classNameLoader}))}return(a=>a.type==="custom")(n)?r(n.children):null}},Zp=b.createContext(void 0),FH=({children:e})=>{const{lastLayout:t,pushLayout:r,deleteLayout:n}=(()=>{const[i,l]=b.useState([]),s=i[i.length-1],o=b.useRef(0),u=b.useRef(new Set);return{lastLayout:s,layouts:i,pushLayout:b.useCallback((c,f)=>{if(f&&u.current.has(f))return o.current;const h=o.current++;return f&&u.current.add(f),l(d=>[...d,{id:h,opts:c,key:f}]),h},[]),deleteLayout:b.useCallback(c=>{l(f=>f.filter(h=>h.id!==c||(h.key&&u.current.delete(h.key),!1)))},[]),clearLayouts:b.useCallback(()=>{l([]),u.current.clear()},[]),hasLayout:b.useCallback(c=>u.current.has(c),[])}})(),a=Q6(t,n);return P.createElement(Zp.Provider,{value:{spawnModal:r,closeModal:n}},P.createElement(P.Fragment,null,a(),e))};b.createContext({columns:void 0,width:void 0,rounded:void 0,statuses:void 0,mode:"disable",sortKey:void 0,adaptiveRowHeight:void 0,height:void 0});function AH(){const e=b.useContext(UE);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e}function OH(e={}){const t=b.useContext(Zp);if(!t)throw new Error("useLoader must be used within a ModalProvider");const r=b.useCallback(n=>t.spawnModal(Object.assign(Object.assign({},e),{type:"loader"}),n),[e]);return{closeLoader:b.useCallback(n=>{t.closeModal(n)},[]),openLoader:r}}const jE=(e,t)=>(r={})=>{const n=b.useContext(Zp);if(!n)throw new Error(`${t} must be used within a ModalProvider`);return[b.useCallback((a,i,l)=>{const s=n.spawnModal(Object.assign(Object.assign({},r),{onCloseModal:()=>{n.closeModal(s)},variant:e,title:a,text:i,type:"status"}),l);return s},[r,e]),b.useCallback(a=>{n.closeModal(a)},[])]},CH=jE("info","useInfoModal"),RH=jE("error","useErrorModal");var oo={},n2;function J6(){if(n2)return oo;n2=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.parse=l,oo.serialize=u;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,i=(()=>{const h=function(){};return h.prototype=Object.create(null),h})();function l(h,d){const p=new i,m=h.length;if(m<2)return p;const y=d?.decode||c;let v=0;do{const g=h.indexOf("=",v);if(g===-1)break;const x=h.indexOf(";",v),_=x===-1?m:x;if(g>_){v=h.lastIndexOf(";",g-1)+1;continue}const w=s(h,v,g),T=o(h,g,w),E=h.slice(w,T);if(p[E]===void 0){let O=s(h,g+1,_),F=o(h,_,O);const R=y(h.slice(O,F));p[E]=R}v=_+1}while(v<m);return p}function s(h,d,p){do{const m=h.charCodeAt(d);if(m!==32&&m!==9)return d}while(++d<p);return p}function o(h,d,p){for(;d>p;){const m=h.charCodeAt(--d);if(m!==32&&m!==9)return d+1}return p}function u(h,d,p){const m=p?.encode||encodeURIComponent;if(!e.test(h))throw new TypeError(`argument name is invalid: ${h}`);const y=m(d);if(!t.test(y))throw new TypeError(`argument val is invalid: ${d}`);let v=h+"="+y;if(!p)return v;if(p.maxAge!==void 0){if(!Number.isInteger(p.maxAge))throw new TypeError(`option maxAge is invalid: ${p.maxAge}`);v+="; Max-Age="+p.maxAge}if(p.domain){if(!r.test(p.domain))throw new TypeError(`option domain is invalid: ${p.domain}`);v+="; Domain="+p.domain}if(p.path){if(!n.test(p.path))throw new TypeError(`option path is invalid: ${p.path}`);v+="; Path="+p.path}if(p.expires){if(!f(p.expires)||!Number.isFinite(p.expires.valueOf()))throw new TypeError(`option expires is invalid: ${p.expires}`);v+="; Expires="+p.expires.toUTCString()}if(p.httpOnly&&(v+="; HttpOnly"),p.secure&&(v+="; Secure"),p.partitioned&&(v+="; Partitioned"),p.priority)switch(typeof p.priority=="string"?p.priority.toLowerCase():void 0){case"low":v+="; Priority=Low";break;case"medium":v+="; Priority=Medium";break;case"high":v+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${p.priority}`)}if(p.sameSite)switch(typeof p.sameSite=="string"?p.sameSite.toLowerCase():p.sameSite){case!0:case"strict":v+="; SameSite=Strict";break;case"lax":v+="; SameSite=Lax";break;case"none":v+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${p.sameSite}`)}return v}function c(h){if(h.indexOf("%")===-1)return h;try{return decodeURIComponent(h)}catch{return h}}function f(h){return a.call(h)==="[object Date]"}return oo}var Bc=J6();function e7(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function t7(e){return typeof e=="string"?Bc.parse(e):typeof e=="object"&&e!==null?e:{}}function oh(e,t={}){const r=r7(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function r7(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class n7{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=Bc.parse(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=t7(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=e7()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:oh(this.cookies[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),oh(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=oh(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const a=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Bc.serialize(t,a,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=Bc.serialize(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}removeAllChangeListeners(){for(;this.changeListeners.length>0;)this.removeChangeListener(this.changeListeners[0])}}const IE=b.createContext(null),{Provider:a7,Consumer:DH}=IE,NH=e=>{const t=b.useMemo(()=>e.cookies?e.cookies:new n7(void 0,e.defaultSetOptions),[e.cookies,e.defaultSetOptions]);return b.createElement(a7,{value:t},e.children)};var uh={exports:{}},Ke={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var a2;function i7(){if(a2)return Ke;a2=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,o=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function x(w){if(typeof w=="object"&&w!==null){var T=w.$$typeof;switch(T){case t:switch(w=w.type,w){case o:case u:case n:case i:case a:case f:return w;default:switch(w=w&&w.$$typeof,w){case s:case c:case p:case d:case l:return w;default:return T}}case r:return T}}}function _(w){return x(w)===u}return Ke.AsyncMode=o,Ke.ConcurrentMode=u,Ke.ContextConsumer=s,Ke.ContextProvider=l,Ke.Element=t,Ke.ForwardRef=c,Ke.Fragment=n,Ke.Lazy=p,Ke.Memo=d,Ke.Portal=r,Ke.Profiler=i,Ke.StrictMode=a,Ke.Suspense=f,Ke.isAsyncMode=function(w){return _(w)||x(w)===o},Ke.isConcurrentMode=_,Ke.isContextConsumer=function(w){return x(w)===s},Ke.isContextProvider=function(w){return x(w)===l},Ke.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},Ke.isForwardRef=function(w){return x(w)===c},Ke.isFragment=function(w){return x(w)===n},Ke.isLazy=function(w){return x(w)===p},Ke.isMemo=function(w){return x(w)===d},Ke.isPortal=function(w){return x(w)===r},Ke.isProfiler=function(w){return x(w)===i},Ke.isStrictMode=function(w){return x(w)===a},Ke.isSuspense=function(w){return x(w)===f},Ke.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===u||w===i||w===a||w===f||w===h||typeof w=="object"&&w!==null&&(w.$$typeof===p||w.$$typeof===d||w.$$typeof===l||w.$$typeof===s||w.$$typeof===c||w.$$typeof===y||w.$$typeof===v||w.$$typeof===g||w.$$typeof===m)},Ke.typeOf=x,Ke}var i2;function l7(){return i2||(i2=1,uh.exports=i7()),uh.exports}var ch,l2;function s7(){if(l2)return ch;l2=1;var e=l7(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=a;function l(p){return e.isMemo(p)?a:i[p.$$typeof]||t}var s=Object.defineProperty,o=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;function d(p,m,y){if(typeof m!="string"){if(h){var v=f(m);v&&v!==h&&d(p,v,y)}var g=o(m);u&&(g=g.concat(u(m)));for(var x=l(p),_=l(m),w=0;w<g.length;++w){var T=g[w];if(!r[T]&&!(y&&y[T])&&!(_&&_[T])&&!(x&&x[T])){var E=c(m,T);try{s(p,T,E)}catch{}}}}return p}return ch=d,ch}s7();function o7(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function MH(e,t){const r=b.useContext(IE);if(!r)throw new Error("Missing <CookiesProvider>");const a=Object.assign(Object.assign({},{doNotUpdate:!0}),t),[i,l]=b.useState(()=>r.getAll(a));o7()&&b.useLayoutEffect(()=>{function c(){if(!r)throw new Error("Missing <CookiesProvider>");const f=r.getAll(a);u7(e||null,f,i)&&l(f)}return r.addChangeListener(c),()=>{r.removeChangeListener(c)}},[r,i]);const s=b.useMemo(()=>r.set.bind(r),[r]),o=b.useMemo(()=>r.remove.bind(r),[r]),u=b.useMemo(()=>r.update.bind(r),[r]);return[i,s,o,u]}function u7(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}var HE={exports:{}},v0={},VE={exports:{}},GE={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(U,ee){var oe=U.length;U.push(ee);e:for(;0<oe;){var de=oe-1>>>1,fe=U[de];if(0<a(fe,ee))U[de]=ee,U[oe]=fe,oe=de;else break e}}function r(U){return U.length===0?null:U[0]}function n(U){if(U.length===0)return null;var ee=U[0],oe=U.pop();if(oe!==ee){U[0]=oe;e:for(var de=0,fe=U.length,Fe=fe>>>1;de<Fe;){var B=2*(de+1)-1,H=U[B],I=B+1,V=U[I];if(0>a(H,oe))I<fe&&0>a(V,H)?(U[de]=V,U[I]=oe,de=I):(U[de]=H,U[B]=oe,de=B);else if(I<fe&&0>a(V,oe))U[de]=V,U[I]=oe,de=I;else break e}}return ee}function a(U,ee){var oe=U.sortIndex-ee.sortIndex;return oe!==0?oe:U.id-ee.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var o=[],u=[],c=1,f=null,h=3,d=!1,p=!1,m=!1,y=!1,v=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function _(U){for(var ee=r(u);ee!==null;){if(ee.callback===null)n(u);else if(ee.startTime<=U)n(u),ee.sortIndex=ee.expirationTime,t(o,ee);else break;ee=r(u)}}function w(U){if(m=!1,_(U),!p)if(r(o)!==null)p=!0,T||(T=!0,j());else{var ee=r(u);ee!==null&&L(w,ee.startTime-U)}}var T=!1,E=-1,O=5,F=-1;function R(){return y?!0:!(e.unstable_now()-F<O)}function z(){if(y=!1,T){var U=e.unstable_now();F=U;var ee=!0;try{e:{p=!1,m&&(m=!1,g(E),E=-1),d=!0;var oe=h;try{t:{for(_(U),f=r(o);f!==null&&!(f.expirationTime>U&&R());){var de=f.callback;if(typeof de=="function"){f.callback=null,h=f.priorityLevel;var fe=de(f.expirationTime<=U);if(U=e.unstable_now(),typeof fe=="function"){f.callback=fe,_(U),ee=!0;break t}f===r(o)&&n(o),_(U)}else n(o);f=r(o)}if(f!==null)ee=!0;else{var Fe=r(u);Fe!==null&&L(w,Fe.startTime-U),ee=!1}}break e}finally{f=null,h=oe,d=!1}ee=void 0}}finally{ee?j():T=!1}}}var j;if(typeof x=="function")j=function(){x(z)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,ce=G.port2;G.port1.onmessage=z,j=function(){ce.postMessage(null)}}else j=function(){v(z,0)};function L(U,ee){E=v(function(){U(e.unstable_now())},ee)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_next=function(U){switch(h){case 1:case 2:case 3:var ee=3;break;default:ee=h}var oe=h;h=ee;try{return U()}finally{h=oe}},e.unstable_requestPaint=function(){y=!0},e.unstable_runWithPriority=function(U,ee){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var oe=h;h=U;try{return ee()}finally{h=oe}},e.unstable_scheduleCallback=function(U,ee,oe){var de=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?de+oe:de):oe=de,U){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=oe+fe,U={id:c++,callback:ee,priorityLevel:U,startTime:oe,expirationTime:fe,sortIndex:-1},oe>de?(U.sortIndex=oe,t(u,U),r(o)===null&&U===r(u)&&(m?(g(E),E=-1):m=!0,L(w,oe-de))):(U.sortIndex=fe,t(o,U),p||d||(p=!0,T||(T=!0,j()))),U},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(U){var ee=h;return function(){var oe=h;h=ee;try{return U.apply(this,arguments)}finally{h=oe}}}})(GE);VE.exports=GE;var c7=VE.exports;/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Qt=c7,$E=b,f7=$p;function ue(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function XE(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ou(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function YE(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function qE(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function s2(e){if(Ou(e)!==e)throw Error(ue(188))}function h7(e){var t=e.alternate;if(!t){if(t=Ou(e),t===null)throw Error(ue(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(a===null)break;var i=a.alternate;if(i===null){if(n=a.return,n!==null){r=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return s2(a),e;if(i===n)return s2(a),t;i=i.sibling}throw Error(ue(188))}if(r.return!==n.return)r=a,n=i;else{for(var l=!1,s=a.child;s;){if(s===r){l=!0,r=a,n=i;break}if(s===n){l=!0,n=a,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,n=a;break}if(s===n){l=!0,n=i,r=a;break}s=s.sibling}if(!l)throw Error(ue(189))}}if(r.alternate!==n)throw Error(ue(190))}if(r.tag!==3)throw Error(ue(188));return r.stateNode.current===r?e:t}function KE(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=KE(e),t!==null)return t;e=e.sibling}return null}var vt=Object.assign,d7=Symbol.for("react.element"),tc=Symbol.for("react.transitional.element"),wo=Symbol.for("react.portal"),Jl=Symbol.for("react.fragment"),ZE=Symbol.for("react.strict_mode"),s1=Symbol.for("react.profiler"),WE=Symbol.for("react.consumer"),Fa=Symbol.for("react.context"),Wp=Symbol.for("react.forward_ref"),o1=Symbol.for("react.suspense"),u1=Symbol.for("react.suspense_list"),Qp=Symbol.for("react.memo"),Qa=Symbol.for("react.lazy"),c1=Symbol.for("react.activity"),p7=Symbol.for("react.memo_cache_sentinel"),o2=Symbol.iterator;function uo(e){return e===null||typeof e!="object"?null:(e=o2&&e[o2]||e["@@iterator"],typeof e=="function"?e:null)}var m7=Symbol.for("react.client.reference");function f1(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===m7?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Jl:return"Fragment";case s1:return"Profiler";case ZE:return"StrictMode";case o1:return"Suspense";case u1:return"SuspenseList";case c1:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case wo:return"Portal";case Fa:return e.displayName||"Context";case WE:return(e._context.displayName||"Context")+".Consumer";case Wp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qp:return t=e.displayName||null,t!==null?t:f1(e.type)||"Memo";case Qa:t=e._payload,e=e._init;try{return f1(e(t))}catch{}}return null}var So=Array.isArray,De=$E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ye=f7.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qi={pending:!1,data:null,method:null,action:null},h1=[],es=-1;function oa(e){return{current:e}}function sr(e){0>es||(e.current=h1[es],h1[es]=null,es--)}function ct(e,t){es++,h1[es]=e.current,e.current=t}var ia=oa(null),eu=oa(null),di=oa(null),tf=oa(null);function rf(e,t){switch(ct(di,t),ct(eu,e),ct(ia,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?px(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=px(t),e=g3(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}sr(ia),ct(ia,e)}function Fs(){sr(ia),sr(eu),sr(di)}function d1(e){e.memoizedState!==null&&ct(tf,e);var t=ia.current,r=g3(t,e.type);t!==r&&(ct(eu,e),ct(ia,r))}function nf(e){eu.current===e&&(sr(ia),sr(eu)),tf.current===e&&(sr(tf),fu._currentValue=Qi)}var fh,u2;function $i(e){if(fh===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);fh=t&&t[1]||"",u2=-1<r.stack.indexOf(`
    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
`+fh+e+u2}var hh=!1;function dh(e,t){if(!e||hh)return"";hh=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(d){var h=d}Reflect.construct(e,[],f)}else{try{f.call()}catch(d){h=d}e.call(f.prototype)}}else{try{throw Error()}catch(d){h=d}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(d){if(d&&h&&typeof d.stack=="string")return[d.stack,h.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),l=i[0],s=i[1];if(l&&s){var o=l.split(`
`),u=s.split(`
`);for(a=n=0;n<o.length&&!o[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===o.length||a===u.length)for(n=o.length-1,a=u.length-1;1<=n&&0<=a&&o[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(o[n]!==u[a]){if(n!==1||a!==1)do if(n--,a--,0>a||o[n]!==u[a]){var c=`
`+o[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{hh=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?$i(r):""}function v7(e,t){switch(e.tag){case 26:case 27:case 5:return $i(e.type);case 16:return $i("Lazy");case 13:return e.child!==t&&t!==null?$i("Suspense Fallback"):$i("Suspense");case 19:return $i("SuspenseList");case 0:case 15:return dh(e.type,!1);case 11:return dh(e.type.render,!1);case 1:return dh(e.type,!0);case 31:return $i("Activity");default:return""}}function c2(e){try{var t="",r=null;do t+=v7(e,r),r=e,e=e.return;while(e);return t}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var p1=Object.prototype.hasOwnProperty,Jp=Qt.unstable_scheduleCallback,ph=Qt.unstable_cancelCallback,g7=Qt.unstable_shouldYield,x7=Qt.unstable_requestPaint,sn=Qt.unstable_now,y7=Qt.unstable_getCurrentPriorityLevel,QE=Qt.unstable_ImmediatePriority,JE=Qt.unstable_UserBlockingPriority,af=Qt.unstable_NormalPriority,_7=Qt.unstable_LowPriority,ew=Qt.unstable_IdlePriority,E7=Qt.log,w7=Qt.unstable_setDisableYieldValue,Cu=null,on=null;function ii(e){if(typeof E7=="function"&&w7(e),on&&typeof on.setStrictMode=="function")try{on.setStrictMode(Cu,e)}catch{}}var un=Math.clz32?Math.clz32:T7,S7=Math.log,b7=Math.LN2;function T7(e){return e>>>=0,e===0?32:31-(S7(e)/b7|0)|0}var rc=256,nc=262144,ac=4194304;function Xi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function g0(e,t,r){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var s=n&134217727;return s!==0?(n=s&~i,n!==0?a=Xi(n):(l&=s,l!==0?a=Xi(l):r||(r=s&~e,r!==0&&(a=Xi(r))))):(s=n&~i,s!==0?a=Xi(s):l!==0?a=Xi(l):r||(r=n&~e,r!==0&&(a=Xi(r)))),a===0?0:t!==0&&t!==a&&!(t&i)&&(i=a&-a,r=t&-t,i>=r||i===32&&(r&4194048)!==0)?t:a}function Ru(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function F7(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tw(){var e=ac;return ac<<=1,!(ac&62914560)&&(ac=4194304),e}function mh(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Du(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function A7(e,t,r,n,a,i){var l=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var s=e.entanglements,o=e.expirationTimes,u=e.hiddenUpdates;for(r=l&~r;0<r;){var c=31-un(r),f=1<<c;s[c]=0,o[c]=-1;var h=u[c];if(h!==null)for(u[c]=null,c=0;c<h.length;c++){var d=h[c];d!==null&&(d.lane&=-536870913)}r&=~f}n!==0&&rw(e,n,0),i!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=i&~(l&~t))}function rw(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-un(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|r&261930}function nw(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-un(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}function aw(e,t){var r=t&-t;return r=r&42?1:em(r),r&(e.suspendedLanes|t)?0:r}function em(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tm(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function iw(){var e=Ye.p;return e!==0?e:(e=window.event,e===void 0?32:O3(e.type))}function f2(e,t){var r=Ye.p;try{return Ye.p=e,t()}finally{Ye.p=r}}var ki=Math.random().toString(36).slice(2),mr="__reactFiber$"+ki,$r="__reactProps$"+ki,Hs="__reactContainer$"+ki,m1="__reactEvents$"+ki,O7="__reactListeners$"+ki,C7="__reactHandles$"+ki,h2="__reactResources$"+ki,Nu="__reactMarker$"+ki;function rm(e){delete e[mr],delete e[$r],delete e[m1],delete e[O7],delete e[C7]}function ts(e){var t=e[mr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Hs]||r[mr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=yx(e);e!==null;){if(r=e[mr])return r;e=yx(e)}return t}e=r,r=e.parentNode}return null}function Vs(e){if(e=e[mr]||e[Hs]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bo(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(ue(33))}function ds(e){var t=e[h2];return t||(t=e[h2]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function nr(e){e[Nu]=!0}var lw=new Set,sw={};function _l(e,t){As(e,t),As(e+"Capture",t)}function As(e,t){for(sw[e]=t,e=0;e<t.length;e++)lw.add(t[e])}var R7=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),d2={},p2={};function D7(e){return p1.call(p2,e)?!0:p1.call(d2,e)?!1:R7.test(e)?p2[e]=!0:(d2[e]=!0,!1)}function Pc(e,t,r){if(D7(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+r)}}function ic(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function da(e,t,r,n){if(n===null)e.removeAttribute(r);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+n)}}function wn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ow(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function N7(e,t,r){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function v1(e){if(!e._valueTracker){var t=ow(e)?"checked":"value";e._valueTracker=N7(e,t,""+e[t])}}function uw(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=ow(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function lf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var M7=/[\n"\\]/g;function Tn(e){return e.replace(M7,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function g1(e,t,r,n,a,i,l,s){e.name="",l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.type=l:e.removeAttribute("type"),t!=null?l==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+wn(t)):e.value!==""+wn(t)&&(e.value=""+wn(t)):l!=="submit"&&l!=="reset"||e.removeAttribute("value"),t!=null?x1(e,l,wn(t)):r!=null?x1(e,l,wn(r)):n!=null&&e.removeAttribute("value"),a==null&&i!=null&&(e.defaultChecked=!!i),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+wn(s):e.removeAttribute("name")}function cw(e,t,r,n,a,i,l,s){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||r!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){v1(e);return}r=r!=null?""+wn(r):"",t=t!=null?""+wn(t):r,s||t===e.value||(e.value=t),e.defaultValue=t}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=s?e.checked:!!n,e.defaultChecked=!!n,l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.name=l),v1(e)}function x1(e,t,r){t==="number"&&lf(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function ps(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(r=""+wn(r),t=null,a=0;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function fw(e,t,r){if(t!=null&&(t=""+wn(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+wn(r):""}function hw(e,t,r,n){if(t==null){if(n!=null){if(r!=null)throw Error(ue(92));if(So(n)){if(1<n.length)throw Error(ue(93));n=n[0]}r=n}r==null&&(r=""),t=r}r=wn(t),e.defaultValue=r,n=e.textContent,n===r&&n!==""&&n!==null&&(e.value=n),v1(e)}function Os(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var k7=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function m2(e,t,r){var n=t.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,r):typeof r!="number"||r===0||k7.has(t)?t==="float"?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function dw(e,t,r){if(t!=null&&typeof t!="object")throw Error(ue(62));if(e=e.style,r!=null){for(var n in r)!r.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var a in t)n=t[a],t.hasOwnProperty(a)&&r[a]!==n&&m2(e,a,n)}else for(var i in t)t.hasOwnProperty(i)&&m2(e,i,t[i])}function nm(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var L7=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),B7=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function zc(e){return B7.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Aa(){}var y1=null;function am(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rs=null,ms=null;function v2(e){var t=Vs(e);if(t&&(e=t.stateNode)){var r=e[$r]||null;e:switch(e=t.stateNode,t.type){case"input":if(g1(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Tn(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=n[$r]||null;if(!a)throw Error(ue(90));g1(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<r.length;t++)n=r[t],n.form===e.form&&uw(n)}break e;case"textarea":fw(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&ps(e,!!r.multiple,t,!1)}}}var vh=!1;function pw(e,t,r){if(vh)return e(t,r);vh=!0;try{var n=e(t);return n}finally{if(vh=!1,(rs!==null||ms!==null)&&(C0(),rs&&(t=rs,e=ms,ms=rs=null,v2(t),e)))for(t=0;t<e.length;t++)v2(e[t])}}function tu(e,t){var r=e.stateNode;if(r===null)return null;var n=r[$r]||null;if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(ue(231,t,typeof r));return r}var Ba=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_1=!1;if(Ba)try{var co={};Object.defineProperty(co,"passive",{get:function(){_1=!0}}),window.addEventListener("test",co,co),window.removeEventListener("test",co,co)}catch{_1=!1}var li=null,im=null,Uc=null;function mw(){if(Uc)return Uc;var e,t=im,r=t.length,n,a="value"in li?li.value:li.textContent,i=a.length;for(e=0;e<r&&t[e]===a[e];e++);var l=r-e;for(n=1;n<=l&&t[r-n]===a[i-n];n++);return Uc=a.slice(e,1<n?1-n:void 0)}function jc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function lc(){return!0}function g2(){return!1}function qr(e){function t(r,n,a,i,l){this._reactName=r,this._targetInst=a,this.type=n,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?lc:g2,this.isPropagationStopped=g2,this}return vt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=lc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=lc)},persist:function(){},isPersistent:lc}),t}var El={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},x0=qr(El),Mu=vt({},El,{view:0,detail:0}),P7=qr(Mu),gh,xh,fo,y0=vt({},Mu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fo&&(fo&&e.type==="mousemove"?(gh=e.screenX-fo.screenX,xh=e.screenY-fo.screenY):xh=gh=0,fo=e),gh)},movementY:function(e){return"movementY"in e?e.movementY:xh}}),x2=qr(y0),z7=vt({},y0,{dataTransfer:0}),U7=qr(z7),j7=vt({},Mu,{relatedTarget:0}),yh=qr(j7),I7=vt({},El,{animationName:0,elapsedTime:0,pseudoElement:0}),H7=qr(I7),V7=vt({},El,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),G7=qr(V7),$7=vt({},El,{data:0}),y2=qr($7),X7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y7={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},q7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function K7(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=q7[e])?!!t[e]:!1}function lm(){return K7}var Z7=vt({},Mu,{key:function(e){if(e.key){var t=X7[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=jc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Y7[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lm,charCode:function(e){return e.type==="keypress"?jc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),W7=qr(Z7),Q7=vt({},y0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_2=qr(Q7),J7=vt({},Mu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lm}),eF=qr(J7),tF=vt({},El,{propertyName:0,elapsedTime:0,pseudoElement:0}),rF=qr(tF),nF=vt({},y0,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),aF=qr(nF),iF=vt({},El,{newState:0,oldState:0}),lF=qr(iF),sF=[9,13,27,32],sm=Ba&&"CompositionEvent"in window,No=null;Ba&&"documentMode"in document&&(No=document.documentMode);var oF=Ba&&"TextEvent"in window&&!No,vw=Ba&&(!sm||No&&8<No&&11>=No),E2=" ",w2=!1;function gw(e,t){switch(e){case"keyup":return sF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ns=!1;function uF(e,t){switch(e){case"compositionend":return xw(t);case"keypress":return t.which!==32?null:(w2=!0,E2);case"textInput":return e=t.data,e===E2&&w2?null:e;default:return null}}function cF(e,t){if(ns)return e==="compositionend"||!sm&&gw(e,t)?(e=mw(),Uc=im=li=null,ns=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return vw&&t.locale!=="ko"?null:t.data;default:return null}}var fF={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function S2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!fF[e.type]:t==="textarea"}function yw(e,t,r,n){rs?ms?ms.push(n):ms=[n]:rs=n,t=bf(t,"onChange"),0<t.length&&(r=new x0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Mo=null,ru=null;function hF(e){p3(e,0)}function _0(e){var t=bo(e);if(uw(t))return e}function b2(e,t){if(e==="change")return t}var _w=!1;if(Ba){var _h;if(Ba){var Eh="oninput"in document;if(!Eh){var T2=document.createElement("div");T2.setAttribute("oninput","return;"),Eh=typeof T2.oninput=="function"}_h=Eh}else _h=!1;_w=_h&&(!document.documentMode||9<document.documentMode)}function F2(){Mo&&(Mo.detachEvent("onpropertychange",Ew),ru=Mo=null)}function Ew(e){if(e.propertyName==="value"&&_0(ru)){var t=[];yw(t,ru,e,am(e)),pw(hF,t)}}function dF(e,t,r){e==="focusin"?(F2(),Mo=t,ru=r,Mo.attachEvent("onpropertychange",Ew)):e==="focusout"&&F2()}function pF(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _0(ru)}function mF(e,t){if(e==="click")return _0(t)}function vF(e,t){if(e==="input"||e==="change")return _0(t)}function gF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dn=typeof Object.is=="function"?Object.is:gF;function nu(e,t){if(dn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!p1.call(t,a)||!dn(e[a],t[a]))return!1}return!0}function A2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function O2(e,t){var r=A2(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=A2(r)}}function ww(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ww(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sw(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=lf(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=lf(e.document)}return t}function om(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var xF=Ba&&"documentMode"in document&&11>=document.documentMode,as=null,E1=null,ko=null,w1=!1;function C2(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;w1||as==null||as!==lf(n)||(n=as,"selectionStart"in n&&om(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ko&&nu(ko,n)||(ko=n,n=bf(E1,"onSelect"),0<n.length&&(t=new x0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=as)))}function Gi(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var is={animationend:Gi("Animation","AnimationEnd"),animationiteration:Gi("Animation","AnimationIteration"),animationstart:Gi("Animation","AnimationStart"),transitionrun:Gi("Transition","TransitionRun"),transitionstart:Gi("Transition","TransitionStart"),transitioncancel:Gi("Transition","TransitionCancel"),transitionend:Gi("Transition","TransitionEnd")},wh={},bw={};Ba&&(bw=document.createElement("div").style,"AnimationEvent"in window||(delete is.animationend.animation,delete is.animationiteration.animation,delete is.animationstart.animation),"TransitionEvent"in window||delete is.transitionend.transition);function wl(e){if(wh[e])return wh[e];if(!is[e])return e;var t=is[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in bw)return wh[e]=t[r];return e}var Tw=wl("animationend"),Fw=wl("animationiteration"),Aw=wl("animationstart"),yF=wl("transitionrun"),_F=wl("transitionstart"),EF=wl("transitioncancel"),Ow=wl("transitionend"),Cw=new Map,S1="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");S1.push("scrollEnd");function qn(e,t){Cw.set(e,t),_l(t,[e])}var sf=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_n=[],ls=0,um=0;function E0(){for(var e=ls,t=um=ls=0;t<e;){var r=_n[t];_n[t++]=null;var n=_n[t];_n[t++]=null;var a=_n[t];_n[t++]=null;var i=_n[t];if(_n[t++]=null,n!==null&&a!==null){var l=n.pending;l===null?a.next=a:(a.next=l.next,l.next=a),n.pending=a}i!==0&&Rw(r,a,i)}}function w0(e,t,r,n){_n[ls++]=e,_n[ls++]=t,_n[ls++]=r,_n[ls++]=n,um|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function cm(e,t,r,n){return w0(e,t,r,n),of(e)}function Sl(e,t){return w0(e,null,null,t),of(e)}function Rw(e,t,r){e.lanes|=r;var n=e.alternate;n!==null&&(n.lanes|=r);for(var a=!1,i=e.return;i!==null;)i.childLanes|=r,n=i.alternate,n!==null&&(n.childLanes|=r),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(a=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,a&&t!==null&&(a=31-un(r),e=i.hiddenUpdates,n=e[a],n===null?e[a]=[t]:n.push(t),t.lane=r|536870912),i):null}function of(e){if(50<Vo)throw Vo=0,G1=null,Error(ue(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ss={};function wF(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rn(e,t,r,n){return new wF(e,t,r,n)}function fm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ca(e,t){var r=e.alternate;return r===null?(r=rn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Dw(e,t){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ic(e,t,r,n,a,i){var l=0;if(n=e,typeof e=="function")fm(e)&&(l=1);else if(typeof e=="string")l=AA(e,r,ia.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case c1:return e=rn(31,r,t,a),e.elementType=c1,e.lanes=i,e;case Jl:return Ji(r.children,a,i,t);case ZE:l=8,a|=24;break;case s1:return e=rn(12,r,t,a|2),e.elementType=s1,e.lanes=i,e;case o1:return e=rn(13,r,t,a),e.elementType=o1,e.lanes=i,e;case u1:return e=rn(19,r,t,a),e.elementType=u1,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fa:l=10;break e;case WE:l=9;break e;case Wp:l=11;break e;case Qp:l=14;break e;case Qa:l=16,n=null;break e}l=29,r=Error(ue(130,e===null?"null":typeof e,"")),n=null}return t=rn(l,r,t,a),t.elementType=e,t.type=n,t.lanes=i,t}function Ji(e,t,r,n){return e=rn(7,e,n,t),e.lanes=r,e}function Sh(e,t,r){return e=rn(6,e,null,t),e.lanes=r,e}function Nw(e){var t=rn(18,null,null,0);return t.stateNode=e,t}function bh(e,t,r){return t=rn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var R2=new WeakMap;function Fn(e,t){if(typeof e=="object"&&e!==null){var r=R2.get(e);return r!==void 0?r:(t={value:e,source:t,stack:c2(t)},R2.set(e,t),t)}return{value:e,source:t,stack:c2(t)}}var os=[],us=0,uf=null,au=0,Sn=[],bn=0,bi=null,ea=1,ta="";function Sa(e,t){os[us++]=au,os[us++]=uf,uf=e,au=t}function Mw(e,t,r){Sn[bn++]=ea,Sn[bn++]=ta,Sn[bn++]=bi,bi=e;var n=ea;e=ta;var a=32-un(n)-1;n&=~(1<<a),r+=1;var i=32-un(t)+a;if(30<i){var l=a-a%5;i=(n&(1<<l)-1).toString(32),n>>=l,a-=l,ea=1<<32-un(t)+a|r<<a|n,ta=i+e}else ea=1<<i|r<<a|n,ta=e}function hm(e){e.return!==null&&(Sa(e,1),Mw(e,1,0))}function dm(e){for(;e===uf;)uf=os[--us],os[us]=null,au=os[--us],os[us]=null;for(;e===bi;)bi=Sn[--bn],Sn[bn]=null,ta=Sn[--bn],Sn[bn]=null,ea=Sn[--bn],Sn[bn]=null}function kw(e,t){Sn[bn++]=ea,Sn[bn++]=ta,Sn[bn++]=bi,ea=t.id,ta=t.overflow,bi=e}var vr=null,pt=null,je=!1,pi=null,An=!1,b1=Error(ue(519));function Ti(e){var t=Error(ue(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw iu(Fn(t,e)),b1}function D2(e){var t=e.stateNode,r=e.type,n=e.memoizedProps;switch(t[mr]=e,t[$r]=n,r){case"dialog":Pe("cancel",t),Pe("close",t);break;case"iframe":case"object":case"embed":Pe("load",t);break;case"video":case"audio":for(r=0;r<uu.length;r++)Pe(uu[r],t);break;case"source":Pe("error",t);break;case"img":case"image":case"link":Pe("error",t),Pe("load",t);break;case"details":Pe("toggle",t);break;case"input":Pe("invalid",t),cw(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":Pe("invalid",t);break;case"textarea":Pe("invalid",t),hw(t,n.value,n.defaultValue,n.children)}r=n.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||n.suppressHydrationWarning===!0||v3(t.textContent,r)?(n.popover!=null&&(Pe("beforetoggle",t),Pe("toggle",t)),n.onScroll!=null&&Pe("scroll",t),n.onScrollEnd!=null&&Pe("scrollend",t),n.onClick!=null&&(t.onclick=Aa),t=!0):t=!1,t||Ti(e,!0)}function N2(e){for(vr=e.return;vr;)switch(vr.tag){case 5:case 31:case 13:An=!1;return;case 27:case 3:An=!0;return;default:vr=vr.return}}function zl(e){if(e!==vr)return!1;if(!je)return N2(e),je=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||K1(e.type,e.memoizedProps)),r=!r),r&&pt&&Ti(e),N2(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ue(317));pt=xx(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ue(317));pt=xx(e)}else t===27?(t=pt,Li(e.type)?(e=J1,J1=null,pt=e):pt=t):pt=vr?Cn(e.stateNode.nextSibling):null;return!0}function sl(){pt=vr=null,je=!1}function Th(){var e=pi;return e!==null&&(jr===null?jr=e:jr.push.apply(jr,e),pi=null),e}function iu(e){pi===null?pi=[e]:pi.push(e)}var T1=oa(null),bl=null,Oa=null;function ei(e,t,r){ct(T1,t._currentValue),t._currentValue=r}function Ra(e){e._currentValue=T1.current,sr(T1)}function F1(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function A1(e,t,r,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var i=a.dependencies;if(i!==null){var l=a.child;i=i.firstContext;e:for(;i!==null;){var s=i;i=a;for(var o=0;o<t.length;o++)if(s.context===t[o]){i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),F1(i.return,r,e),n||(l=null);break e}i=s.next}}else if(a.tag===18){if(l=a.return,l===null)throw Error(ue(341));l.lanes|=r,i=l.alternate,i!==null&&(i.lanes|=r),F1(l,r,e),l=null}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===e){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}}function Gs(e,t,r,n){e=null;for(var a=t,i=!1;a!==null;){if(!i){if(a.flags&524288)i=!0;else if(a.flags&262144)break}if(a.tag===10){var l=a.alternate;if(l===null)throw Error(ue(387));if(l=l.memoizedProps,l!==null){var s=a.type;dn(a.pendingProps.value,l.value)||(e!==null?e.push(s):e=[s])}}else if(a===tf.current){if(l=a.alternate,l===null)throw Error(ue(387));l.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e!==null?e.push(fu):e=[fu])}a=a.return}e!==null&&A1(t,e,r,n),t.flags|=262144}function cf(e){for(e=e.firstContext;e!==null;){if(!dn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ol(e){bl=e,Oa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function yr(e){return Lw(bl,e)}function sc(e,t){return bl===null&&ol(e),Lw(e,t)}function Lw(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},Oa===null){if(e===null)throw Error(ue(308));Oa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Oa=Oa.next=t;return r}var SF=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},bF=Qt.unstable_scheduleCallback,TF=Qt.unstable_NormalPriority,It={$$typeof:Fa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pm(){return{controller:new SF,data:new Map,refCount:0}}function ku(e){e.refCount--,e.refCount===0&&bF(TF,function(){e.controller.abort()})}var Lo=null,O1=0,Cs=0,vs=null;function FF(e,t){if(Lo===null){var r=Lo=[];O1=0,Cs=Um(),vs={status:"pending",value:void 0,then:function(n){r.push(n)}}}return O1++,t.then(M2,M2),t}function M2(){if(--O1===0&&Lo!==null){vs!==null&&(vs.status="fulfilled");var e=Lo;Lo=null,Cs=0,vs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function AF(e,t){var r=[],n={status:"pending",value:null,reason:null,then:function(a){r.push(a)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var a=0;a<r.length;a++)(0,r[a])(t)},function(a){for(n.status="rejected",n.reason=a,a=0;a<r.length;a++)(0,r[a])(void 0)}),n}var k2=De.S;De.S=function(e,t){K4=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&FF(e,t),k2!==null&&k2(e,t)};var el=oa(null);function mm(){var e=el.current;return e!==null?e:ut.pooledCache}function Hc(e,t){t===null?ct(el,el.current):ct(el,t.pool)}function Bw(){var e=mm();return e===null?null:{parent:It._currentValue,pool:e}}var $s=Error(ue(460)),vm=Error(ue(474)),S0=Error(ue(542)),ff={then:function(){}};function L2(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Pw(e,t,r){switch(r=e[r],r===void 0?e.push(t):r!==t&&(t.then(Aa,Aa),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,P2(e),e;default:if(typeof t.status=="string")t.then(Aa,Aa);else{if(e=ut,e!==null&&100<e.shellSuspendCounter)throw Error(ue(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var a=t;a.status="fulfilled",a.value=n}},function(n){if(t.status==="pending"){var a=t;a.status="rejected",a.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,P2(e),e}throw tl=t,$s}}function Yi(e){try{var t=e._init;return t(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(tl=r,$s):r}}var tl=null;function B2(){if(tl===null)throw Error(ue(459));var e=tl;return tl=null,e}function P2(e){if(e===$s||e===S0)throw Error(ue(483))}var gs=null,lu=0;function oc(e){var t=lu;return lu+=1,gs===null&&(gs=[]),Pw(gs,e,t)}function ho(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function uc(e,t){throw t.$$typeof===d7?Error(ue(525)):(e=Object.prototype.toString.call(t),Error(ue(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function zw(e){function t(v,g){if(e){var x=v.deletions;x===null?(v.deletions=[g],v.flags|=16):x.push(g)}}function r(v,g){if(!e)return null;for(;g!==null;)t(v,g),g=g.sibling;return null}function n(v){for(var g=new Map;v!==null;)v.key!==null?g.set(v.key,v):g.set(v.index,v),v=v.sibling;return g}function a(v,g){return v=Ca(v,g),v.index=0,v.sibling=null,v}function i(v,g,x){return v.index=x,e?(x=v.alternate,x!==null?(x=x.index,x<g?(v.flags|=67108866,g):x):(v.flags|=67108866,g)):(v.flags|=1048576,g)}function l(v){return e&&v.alternate===null&&(v.flags|=67108866),v}function s(v,g,x,_){return g===null||g.tag!==6?(g=Sh(x,v.mode,_),g.return=v,g):(g=a(g,x),g.return=v,g)}function o(v,g,x,_){var w=x.type;return w===Jl?c(v,g,x.props.children,_,x.key):g!==null&&(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Qa&&Yi(w)===g.type)?(g=a(g,x.props),ho(g,x),g.return=v,g):(g=Ic(x.type,x.key,x.props,null,v.mode,_),ho(g,x),g.return=v,g)}function u(v,g,x,_){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=bh(x,v.mode,_),g.return=v,g):(g=a(g,x.children||[]),g.return=v,g)}function c(v,g,x,_,w){return g===null||g.tag!==7?(g=Ji(x,v.mode,_,w),g.return=v,g):(g=a(g,x),g.return=v,g)}function f(v,g,x){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=Sh(""+g,v.mode,x),g.return=v,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case tc:return x=Ic(g.type,g.key,g.props,null,v.mode,x),ho(x,g),x.return=v,x;case wo:return g=bh(g,v.mode,x),g.return=v,g;case Qa:return g=Yi(g),f(v,g,x)}if(So(g)||uo(g))return g=Ji(g,v.mode,x,null),g.return=v,g;if(typeof g.then=="function")return f(v,oc(g),x);if(g.$$typeof===Fa)return f(v,sc(v,g),x);uc(v,g)}return null}function h(v,g,x,_){var w=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return w!==null?null:s(v,g,""+x,_);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case tc:return x.key===w?o(v,g,x,_):null;case wo:return x.key===w?u(v,g,x,_):null;case Qa:return x=Yi(x),h(v,g,x,_)}if(So(x)||uo(x))return w!==null?null:c(v,g,x,_,null);if(typeof x.then=="function")return h(v,g,oc(x),_);if(x.$$typeof===Fa)return h(v,g,sc(v,x),_);uc(v,x)}return null}function d(v,g,x,_,w){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return v=v.get(x)||null,s(g,v,""+_,w);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case tc:return v=v.get(_.key===null?x:_.key)||null,o(g,v,_,w);case wo:return v=v.get(_.key===null?x:_.key)||null,u(g,v,_,w);case Qa:return _=Yi(_),d(v,g,x,_,w)}if(So(_)||uo(_))return v=v.get(x)||null,c(g,v,_,w,null);if(typeof _.then=="function")return d(v,g,x,oc(_),w);if(_.$$typeof===Fa)return d(v,g,x,sc(g,_),w);uc(g,_)}return null}function p(v,g,x,_){for(var w=null,T=null,E=g,O=g=0,F=null;E!==null&&O<x.length;O++){E.index>O?(F=E,E=null):F=E.sibling;var R=h(v,E,x[O],_);if(R===null){E===null&&(E=F);break}e&&E&&R.alternate===null&&t(v,E),g=i(R,g,O),T===null?w=R:T.sibling=R,T=R,E=F}if(O===x.length)return r(v,E),je&&Sa(v,O),w;if(E===null){for(;O<x.length;O++)E=f(v,x[O],_),E!==null&&(g=i(E,g,O),T===null?w=E:T.sibling=E,T=E);return je&&Sa(v,O),w}for(E=n(E);O<x.length;O++)F=d(E,v,O,x[O],_),F!==null&&(e&&F.alternate!==null&&E.delete(F.key===null?O:F.key),g=i(F,g,O),T===null?w=F:T.sibling=F,T=F);return e&&E.forEach(function(z){return t(v,z)}),je&&Sa(v,O),w}function m(v,g,x,_){if(x==null)throw Error(ue(151));for(var w=null,T=null,E=g,O=g=0,F=null,R=x.next();E!==null&&!R.done;O++,R=x.next()){E.index>O?(F=E,E=null):F=E.sibling;var z=h(v,E,R.value,_);if(z===null){E===null&&(E=F);break}e&&E&&z.alternate===null&&t(v,E),g=i(z,g,O),T===null?w=z:T.sibling=z,T=z,E=F}if(R.done)return r(v,E),je&&Sa(v,O),w;if(E===null){for(;!R.done;O++,R=x.next())R=f(v,R.value,_),R!==null&&(g=i(R,g,O),T===null?w=R:T.sibling=R,T=R);return je&&Sa(v,O),w}for(E=n(E);!R.done;O++,R=x.next())R=d(E,v,O,R.value,_),R!==null&&(e&&R.alternate!==null&&E.delete(R.key===null?O:R.key),g=i(R,g,O),T===null?w=R:T.sibling=R,T=R);return e&&E.forEach(function(j){return t(v,j)}),je&&Sa(v,O),w}function y(v,g,x,_){if(typeof x=="object"&&x!==null&&x.type===Jl&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case tc:e:{for(var w=x.key;g!==null;){if(g.key===w){if(w=x.type,w===Jl){if(g.tag===7){r(v,g.sibling),_=a(g,x.props.children),_.return=v,v=_;break e}}else if(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Qa&&Yi(w)===g.type){r(v,g.sibling),_=a(g,x.props),ho(_,x),_.return=v,v=_;break e}r(v,g);break}else t(v,g);g=g.sibling}x.type===Jl?(_=Ji(x.props.children,v.mode,_,x.key),_.return=v,v=_):(_=Ic(x.type,x.key,x.props,null,v.mode,_),ho(_,x),_.return=v,v=_)}return l(v);case wo:e:{for(w=x.key;g!==null;){if(g.key===w)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){r(v,g.sibling),_=a(g,x.children||[]),_.return=v,v=_;break e}else{r(v,g);break}else t(v,g);g=g.sibling}_=bh(x,v.mode,_),_.return=v,v=_}return l(v);case Qa:return x=Yi(x),y(v,g,x,_)}if(So(x))return p(v,g,x,_);if(uo(x)){if(w=uo(x),typeof w!="function")throw Error(ue(150));return x=w.call(x),m(v,g,x,_)}if(typeof x.then=="function")return y(v,g,oc(x),_);if(x.$$typeof===Fa)return y(v,g,sc(v,x),_);uc(v,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,g!==null&&g.tag===6?(r(v,g.sibling),_=a(g,x),_.return=v,v=_):(r(v,g),_=Sh(x,v.mode,_),_.return=v,v=_),l(v)):r(v,g)}return function(v,g,x,_){try{lu=0;var w=y(v,g,x,_);return gs=null,w}catch(E){if(E===$s||E===S0)throw E;var T=rn(29,E,null,v.mode);return T.lanes=_,T.return=v,T}finally{}}}var ul=zw(!0),Uw=zw(!1),Ja=!1;function gm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function C1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function mi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function vi(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Xe&2){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=of(e),Rw(e,null,r),t}return w0(e,n,t,r),of(e)}function Bo(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,nw(e,r)}}function Fh(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var a=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var l={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};i===null?a=i=l:i=i.next=l,r=r.next}while(r!==null);i===null?a=i=t:i=i.next=t}else a=i=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var R1=!1;function Po(){if(R1){var e=vs;if(e!==null)throw e}}function zo(e,t,r,n){R1=!1;var a=e.updateQueue;Ja=!1;var i=a.firstBaseUpdate,l=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var o=s,u=o.next;o.next=null,l===null?i=u:l.next=u,l=o;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==l&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=o))}if(i!==null){var f=a.baseState;l=0,c=u=o=null,s=i;do{var h=s.lane&-536870913,d=h!==s.lane;if(d?(Ue&h)===h:(n&h)===h){h!==0&&h===Cs&&(R1=!0),c!==null&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var p=e,m=s;h=t;var y=r;switch(m.tag){case 1:if(p=m.payload,typeof p=="function"){f=p.call(y,f,h);break e}f=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=m.payload,h=typeof p=="function"?p.call(y,f,h):p,h==null)break e;f=vt({},f,h);break e;case 2:Ja=!0}}h=s.callback,h!==null&&(e.flags|=64,d&&(e.flags|=8192),d=a.callbacks,d===null?a.callbacks=[h]:d.push(h))}else d={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=d,o=f):c=c.next=d,l|=h;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;d=s,s=d.next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}while(!0);c===null&&(o=f),a.baseState=o,a.firstBaseUpdate=u,a.lastBaseUpdate=c,i===null&&(a.shared.lanes=0),Ai|=l,e.lanes=l,e.memoizedState=f}}function jw(e,t){if(typeof e!="function")throw Error(ue(191,e));e.call(t)}function Iw(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)jw(r[e],t)}var Rs=oa(null),hf=oa(0);function z2(e,t){e=ja,ct(hf,e),ct(Rs,t),ja=e|t.baseLanes}function D1(){ct(hf,ja),ct(Rs,Rs.current)}function xm(){ja=hf.current,sr(Rs),sr(hf)}var pn=oa(null),On=null;function ti(e){var t=e.alternate;ct(Dt,Dt.current&1),ct(pn,e),On===null&&(t===null||Rs.current!==null||t.memoizedState!==null)&&(On=e)}function N1(e){ct(Dt,Dt.current),ct(pn,e),On===null&&(On=e)}function Hw(e){e.tag===22?(ct(Dt,Dt.current),ct(pn,e),On===null&&(On=e)):ri()}function ri(){ct(Dt,Dt.current),ct(pn,pn.current)}function Jr(e){sr(pn),On===e&&(On=null),sr(Dt)}var Dt=oa(0);function df(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||W1(r)||Q1(r)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Pa=0,Le=null,st=null,Ut=null,pf=!1,xs=!1,cl=!1,mf=0,su=0,ys=null,OF=0;function bt(){throw Error(ue(321))}function ym(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!dn(e[r],t[r]))return!1;return!0}function _m(e,t,r,n,a,i){return Pa=i,Le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,De.H=e===null||e.memoizedState===null?y4:Dm,cl=!1,i=r(n,a),cl=!1,xs&&(i=Gw(t,r,n,a)),Vw(e),i}function Vw(e){De.H=ou;var t=st!==null&&st.next!==null;if(Pa=0,Ut=st=Le=null,pf=!1,su=0,ys=null,t)throw Error(ue(300));e===null||Ht||(e=e.dependencies,e!==null&&cf(e)&&(Ht=!0))}function Gw(e,t,r,n){Le=e;var a=0;do{if(xs&&(ys=null),su=0,xs=!1,25<=a)throw Error(ue(301));if(a+=1,Ut=st=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}De.H=_4,i=t(r,n)}while(xs);return i}function CF(){var e=De.H,t=e.useState()[0];return t=typeof t.then=="function"?Lu(t):t,e=e.useState()[0],(st!==null?st.memoizedState:null)!==e&&(Le.flags|=1024),t}function Em(){var e=mf!==0;return mf=0,e}function wm(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function Sm(e){if(pf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}pf=!1}Pa=0,Ut=st=Le=null,xs=!1,su=mf=0,ys=null}function Ar(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ut===null?Le.memoizedState=Ut=e:Ut=Ut.next=e,Ut}function Nt(){if(st===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=st.next;var t=Ut===null?Le.memoizedState:Ut.next;if(t!==null)Ut=t,st=e;else{if(e===null)throw Le.alternate===null?Error(ue(467)):Error(ue(310));st=e,e={memoizedState:st.memoizedState,baseState:st.baseState,baseQueue:st.baseQueue,queue:st.queue,next:null},Ut===null?Le.memoizedState=Ut=e:Ut=Ut.next=e}return Ut}function b0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Lu(e){var t=su;return su+=1,ys===null&&(ys=[]),e=Pw(ys,e,t),t=Le,(Ut===null?t.memoizedState:Ut.next)===null&&(t=t.alternate,De.H=t===null||t.memoizedState===null?y4:Dm),e}function T0(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Lu(e);if(e.$$typeof===Fa)return yr(e)}throw Error(ue(438,String(e)))}function bm(e){var t=null,r=Le.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var n=Le.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(a){return a.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=b0(),Le.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0)for(r=t.data[t.index]=Array(e),n=0;n<e;n++)r[n]=p7;return t.index++,r}function za(e,t){return typeof t=="function"?t(e):t}function Vc(e){var t=Nt();return Tm(t,st,e)}function Tm(e,t,r){var n=e.queue;if(n===null)throw Error(ue(311));n.lastRenderedReducer=r;var a=e.baseQueue,i=n.pending;if(i!==null){if(a!==null){var l=a.next;a.next=i.next,i.next=l}t.baseQueue=a=i,n.pending=null}if(i=e.baseState,a===null)e.memoizedState=i;else{t=a.next;var s=l=null,o=null,u=t,c=!1;do{var f=u.lane&-536870913;if(f!==u.lane?(Ue&f)===f:(Pa&f)===f){var h=u.revertLane;if(h===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Cs&&(c=!0);else if((Pa&h)===h){u=u.next,h===Cs&&(c=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},o===null?(s=o=f,l=i):o=o.next=f,Le.lanes|=h,Ai|=h;f=u.action,cl&&r(i,f),i=u.hasEagerState?u.eagerState:r(i,f)}else h={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},o===null?(s=o=h,l=i):o=o.next=h,Le.lanes|=f,Ai|=f;u=u.next}while(u!==null&&u!==t);if(o===null?l=i:o.next=s,!dn(i,e.memoizedState)&&(Ht=!0,c&&(r=vs,r!==null)))throw r;e.memoizedState=i,e.baseState=l,e.baseQueue=o,n.lastRenderedState=i}return a===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Ah(e){var t=Nt(),r=t.queue;if(r===null)throw Error(ue(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,i=t.memoizedState;if(a!==null){r.pending=null;var l=a=a.next;do i=e(i,l.action),l=l.next;while(l!==a);dn(i,t.memoizedState)||(Ht=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function $w(e,t,r){var n=Le,a=Nt(),i=je;if(i){if(r===void 0)throw Error(ue(407));r=r()}else r=t();var l=!dn((st||a).memoizedState,r);if(l&&(a.memoizedState=r,Ht=!0),a=a.queue,Fm(qw.bind(null,n,a,e),[e]),a.getSnapshot!==t||l||Ut!==null&&Ut.memoizedState.tag&1){if(n.flags|=2048,Ds(9,{destroy:void 0},Yw.bind(null,n,a,r,t),null),ut===null)throw Error(ue(349));i||Pa&127||Xw(n,t,r)}return r}function Xw(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Le.updateQueue,t===null?(t=b0(),Le.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Yw(e,t,r,n){t.value=r,t.getSnapshot=n,Kw(t)&&Zw(e)}function qw(e,t,r){return r(function(){Kw(t)&&Zw(e)})}function Kw(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!dn(e,r)}catch{return!0}}function Zw(e){var t=Sl(e,2);t!==null&&Vr(t,e,2)}function M1(e){var t=Ar();if(typeof e=="function"){var r=e;if(e=r(),cl){ii(!0);try{r()}finally{ii(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:e},t}function Ww(e,t,r,n){return e.baseState=r,Tm(e,st,typeof n=="function"?n:za)}function RF(e,t,r,n,a){if(A0(e))throw Error(ue(485));if(e=t.action,e!==null){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(l){i.listeners.push(l)}};De.T!==null?r(!0):i.isTransition=!1,n(i),r=t.pending,r===null?(i.next=t.pending=i,Qw(t,i)):(i.next=r.next,t.pending=r.next=i)}}function Qw(e,t){var r=t.action,n=t.payload,a=e.state;if(t.isTransition){var i=De.T,l={};De.T=l;try{var s=r(a,n),o=De.S;o!==null&&o(l,s),U2(e,t,s)}catch(u){k1(e,t,u)}finally{i!==null&&l.types!==null&&(i.types=l.types),De.T=i}}else try{i=r(a,n),U2(e,t,i)}catch(u){k1(e,t,u)}}function U2(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(n){j2(e,t,n)},function(n){return k1(e,t,n)}):j2(e,t,r)}function j2(e,t,r){t.status="fulfilled",t.value=r,Jw(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,Qw(e,r)))}function k1(e,t,r){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=r,Jw(t),t=t.next;while(t!==n)}e.action=null}function Jw(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function e4(e,t){return t}function I2(e,t){if(je){var r=ut.formState;if(r!==null){e:{var n=Le;if(je){if(pt){t:{for(var a=pt,i=An;a.nodeType!==8;){if(!i){a=null;break t}if(a=Cn(a.nextSibling),a===null){a=null;break t}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){pt=Cn(a.nextSibling),n=a.data==="F!";break e}}Ti(n)}n=!1}n&&(t=r[0])}}return r=Ar(),r.memoizedState=r.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e4,lastRenderedState:t},r.queue=n,r=v4.bind(null,Le,n),n.dispatch=r,n=M1(!1),i=Rm.bind(null,Le,!1,n.queue),n=Ar(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,r=RF.bind(null,Le,a,i,r),a.dispatch=r,n.memoizedState=e,[t,r,!1]}function H2(e){var t=Nt();return t4(t,st,e)}function t4(e,t,r){if(t=Tm(e,t,e4)[0],e=Vc(za)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Lu(t)}catch(l){throw l===$s?S0:l}else n=t;t=Nt();var a=t.queue,i=a.dispatch;return r!==t.memoizedState&&(Le.flags|=2048,Ds(9,{destroy:void 0},DF.bind(null,a,r),null)),[n,i,e]}function DF(e,t){e.action=t}function V2(e){var t=Nt(),r=st;if(r!==null)return t4(t,r,e);Nt(),t=t.memoizedState,r=Nt();var n=r.queue.dispatch;return r.memoizedState=e,[t,n,!1]}function Ds(e,t,r,n){return e={tag:e,create:r,deps:n,inst:t,next:null},t=Le.updateQueue,t===null&&(t=b0(),Le.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function r4(){return Nt().memoizedState}function Gc(e,t,r,n){var a=Ar();Le.flags|=e,a.memoizedState=Ds(1|t,{destroy:void 0},r,n===void 0?null:n)}function F0(e,t,r,n){var a=Nt();n=n===void 0?null:n;var i=a.memoizedState.inst;st!==null&&n!==null&&ym(n,st.memoizedState.deps)?a.memoizedState=Ds(t,i,r,n):(Le.flags|=e,a.memoizedState=Ds(1|t,i,r,n))}function G2(e,t){Gc(8390656,8,e,t)}function Fm(e,t){F0(2048,8,e,t)}function NF(e){Le.flags|=4;var t=Le.updateQueue;if(t===null)t=b0(),Le.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function n4(e){var t=Nt().memoizedState;return NF({ref:t,nextImpl:e}),function(){if(Xe&2)throw Error(ue(440));return t.impl.apply(void 0,arguments)}}function a4(e,t){return F0(4,2,e,t)}function i4(e,t){return F0(4,4,e,t)}function l4(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function s4(e,t,r){r=r!=null?r.concat([e]):null,F0(4,4,l4.bind(null,t,e),r)}function Am(){}function o4(e,t){var r=Nt();t=t===void 0?null:t;var n=r.memoizedState;return t!==null&&ym(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function u4(e,t){var r=Nt();t=t===void 0?null:t;var n=r.memoizedState;if(t!==null&&ym(t,n[1]))return n[0];if(n=e(),cl){ii(!0);try{e()}finally{ii(!1)}}return r.memoizedState=[n,t],n}function Om(e,t,r){return r===void 0||Pa&1073741824&&!(Ue&261930)?e.memoizedState=t:(e.memoizedState=r,e=W4(),Le.lanes|=e,Ai|=e,r)}function c4(e,t,r,n){return dn(r,t)?r:Rs.current!==null?(e=Om(e,r,n),dn(e,t)||(Ht=!0),e):!(Pa&42)||Pa&1073741824&&!(Ue&261930)?(Ht=!0,e.memoizedState=r):(e=W4(),Le.lanes|=e,Ai|=e,t)}function f4(e,t,r,n,a){var i=Ye.p;Ye.p=i!==0&&8>i?i:8;var l=De.T,s={};De.T=s,Rm(e,!1,t,r);try{var o=a(),u=De.S;if(u!==null&&u(s,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var c=AF(o,n);Uo(e,t,c,cn(e))}else Uo(e,t,n,cn(e))}catch(f){Uo(e,t,{then:function(){},status:"rejected",reason:f},cn())}finally{Ye.p=i,l!==null&&s.types!==null&&(l.types=s.types),De.T=l}}function MF(){}function L1(e,t,r,n){if(e.tag!==5)throw Error(ue(476));var a=h4(e).queue;f4(e,a,t,Qi,r===null?MF:function(){return d4(e),r(n)})}function h4(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Qi,baseState:Qi,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:Qi},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function d4(e){var t=h4(e);t.next===null&&(t=e.alternate.memoizedState),Uo(e,t.next.queue,{},cn())}function Cm(){return yr(fu)}function p4(){return Nt().memoizedState}function m4(){return Nt().memoizedState}function kF(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=cn();e=mi(r);var n=vi(t,e,r);n!==null&&(Vr(n,t,r),Bo(n,t,r)),t={cache:pm()},e.payload=t;return}t=t.return}}function LF(e,t,r){var n=cn();r={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},A0(e)?g4(t,r):(r=cm(e,t,r,n),r!==null&&(Vr(r,e,n),x4(r,t,n)))}function v4(e,t,r){var n=cn();Uo(e,t,r,n)}function Uo(e,t,r,n){var a={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(A0(e))g4(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,r);if(a.hasEagerState=!0,a.eagerState=s,dn(s,l))return w0(e,t,a,0),ut===null&&E0(),!1}catch{}finally{}if(r=cm(e,t,a,n),r!==null)return Vr(r,e,n),x4(r,t,n),!0}return!1}function Rm(e,t,r,n){if(n={lane:2,revertLane:Um(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},A0(e)){if(t)throw Error(ue(479))}else t=cm(e,r,n,2),t!==null&&Vr(t,e,2)}function A0(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function g4(e,t){xs=pf=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function x4(e,t,r){if(r&4194048){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,nw(e,r)}}var ou={readContext:yr,use:T0,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};ou.useEffectEvent=bt;var y4={readContext:yr,use:T0,useCallback:function(e,t){return Ar().memoizedState=[e,t===void 0?null:t],e},useContext:yr,useEffect:G2,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,Gc(4194308,4,l4.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Gc(4194308,4,e,t)},useInsertionEffect:function(e,t){Gc(4,2,e,t)},useMemo:function(e,t){var r=Ar();t=t===void 0?null:t;var n=e();if(cl){ii(!0);try{e()}finally{ii(!1)}}return r.memoizedState=[n,t],n},useReducer:function(e,t,r){var n=Ar();if(r!==void 0){var a=r(t);if(cl){ii(!0);try{r(t)}finally{ii(!1)}}}else a=t;return n.memoizedState=n.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},n.queue=e,e=e.dispatch=LF.bind(null,Le,e),[n.memoizedState,e]},useRef:function(e){var t=Ar();return e={current:e},t.memoizedState=e},useState:function(e){e=M1(e);var t=e.queue,r=v4.bind(null,Le,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Am,useDeferredValue:function(e,t){var r=Ar();return Om(r,e,t)},useTransition:function(){var e=M1(!1);return e=f4.bind(null,Le,e.queue,!0,!1),Ar().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var n=Le,a=Ar();if(je){if(r===void 0)throw Error(ue(407));r=r()}else{if(r=t(),ut===null)throw Error(ue(349));Ue&127||Xw(n,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,G2(qw.bind(null,n,i,e),[e]),n.flags|=2048,Ds(9,{destroy:void 0},Yw.bind(null,n,i,r,t),null),r},useId:function(){var e=Ar(),t=ut.identifierPrefix;if(je){var r=ta,n=ea;r=(n&~(1<<32-un(n)-1)).toString(32)+r,t="_"+t+"R_"+r,r=mf++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=OF++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Cm,useFormState:I2,useActionState:I2,useOptimistic:function(e){var t=Ar();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=Rm.bind(null,Le,!0,r),r.dispatch=t,[e,t]},useMemoCache:bm,useCacheRefresh:function(){return Ar().memoizedState=kF.bind(null,Le)},useEffectEvent:function(e){var t=Ar(),r={impl:e};return t.memoizedState=r,function(){if(Xe&2)throw Error(ue(440));return r.impl.apply(void 0,arguments)}}},Dm={readContext:yr,use:T0,useCallback:o4,useContext:yr,useEffect:Fm,useImperativeHandle:s4,useInsertionEffect:a4,useLayoutEffect:i4,useMemo:u4,useReducer:Vc,useRef:r4,useState:function(){return Vc(za)},useDebugValue:Am,useDeferredValue:function(e,t){var r=Nt();return c4(r,st.memoizedState,e,t)},useTransition:function(){var e=Vc(za)[0],t=Nt().memoizedState;return[typeof e=="boolean"?e:Lu(e),t]},useSyncExternalStore:$w,useId:p4,useHostTransitionStatus:Cm,useFormState:H2,useActionState:H2,useOptimistic:function(e,t){var r=Nt();return Ww(r,st,e,t)},useMemoCache:bm,useCacheRefresh:m4};Dm.useEffectEvent=n4;var _4={readContext:yr,use:T0,useCallback:o4,useContext:yr,useEffect:Fm,useImperativeHandle:s4,useInsertionEffect:a4,useLayoutEffect:i4,useMemo:u4,useReducer:Ah,useRef:r4,useState:function(){return Ah(za)},useDebugValue:Am,useDeferredValue:function(e,t){var r=Nt();return st===null?Om(r,e,t):c4(r,st.memoizedState,e,t)},useTransition:function(){var e=Ah(za)[0],t=Nt().memoizedState;return[typeof e=="boolean"?e:Lu(e),t]},useSyncExternalStore:$w,useId:p4,useHostTransitionStatus:Cm,useFormState:V2,useActionState:V2,useOptimistic:function(e,t){var r=Nt();return st!==null?Ww(r,st,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:bm,useCacheRefresh:m4};_4.useEffectEvent=n4;function Oh(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:vt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var B1={enqueueSetState:function(e,t,r){e=e._reactInternals;var n=cn(),a=mi(n);a.payload=t,r!=null&&(a.callback=r),t=vi(e,a,n),t!==null&&(Vr(t,e,n),Bo(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=cn(),a=mi(n);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=vi(e,a,n),t!==null&&(Vr(t,e,n),Bo(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=cn(),n=mi(r);n.tag=2,t!=null&&(n.callback=t),t=vi(e,n,r),t!==null&&(Vr(t,e,r),Bo(t,e,r))}};function $2(e,t,r,n,a,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,l):t.prototype&&t.prototype.isPureReactComponent?!nu(r,n)||!nu(a,i):!0}function X2(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&B1.enqueueReplaceState(t,t.state,null)}function fl(e,t){var r=t;if("ref"in t){r={};for(var n in t)n!=="ref"&&(r[n]=t[n])}if(e=e.defaultProps){r===t&&(r=vt({},r));for(var a in e)r[a]===void 0&&(r[a]=e[a])}return r}function E4(e){sf(e)}function w4(e){console.error(e)}function S4(e){sf(e)}function vf(e,t){try{var r=e.onUncaughtError;r(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Y2(e,t,r){try{var n=e.onCaughtError;n(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function P1(e,t,r){return r=mi(r),r.tag=3,r.payload={element:null},r.callback=function(){vf(e,t)},r}function b4(e){return e=mi(e),e.tag=3,e}function T4(e,t,r,n){var a=r.type.getDerivedStateFromError;if(typeof a=="function"){var i=n.value;e.payload=function(){return a(i)},e.callback=function(){Y2(t,r,n)}}var l=r.stateNode;l!==null&&typeof l.componentDidCatch=="function"&&(e.callback=function(){Y2(t,r,n),typeof a!="function"&&(gi===null?gi=new Set([this]):gi.add(this));var s=n.stack;this.componentDidCatch(n.value,{componentStack:s!==null?s:""})})}function BF(e,t,r,n,a){if(r.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=r.alternate,t!==null&&Gs(t,r,a,!0),r=pn.current,r!==null){switch(r.tag){case 31:case 13:return On===null?Ef():r.alternate===null&&At===0&&(At=3),r.flags&=-257,r.flags|=65536,r.lanes=a,n===ff?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([n]):t.add(n),Uh(e,n,a)),!1;case 22:return r.flags|=65536,n===ff?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([n]):r.add(n)),Uh(e,n,a)),!1}throw Error(ue(435,r.tag))}return Uh(e,n,a),Ef(),!1}if(je)return t=pn.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==b1&&(e=Error(ue(422),{cause:n}),iu(Fn(e,r)))):(n!==b1&&(t=Error(ue(423),{cause:n}),iu(Fn(t,r))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=Fn(n,r),a=P1(e.stateNode,n,a),Fh(e,a),At!==4&&(At=2)),!1;var i=Error(ue(520),{cause:n});if(i=Fn(i,r),Ho===null?Ho=[i]:Ho.push(i),At!==4&&(At=2),t===null)return!0;n=Fn(n,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=a&-a,r.lanes|=e,e=P1(r.stateNode,n,e),Fh(r,e),!1;case 1:if(t=r.type,i=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(gi===null||!gi.has(i))))return r.flags|=65536,a&=-a,r.lanes|=a,a=b4(a),T4(a,e,r,n),Fh(r,a),!1}r=r.return}while(r!==null);return!1}var Nm=Error(ue(461)),Ht=!1;function dr(e,t,r,n){t.child=e===null?Uw(t,null,r,n):ul(t,e.child,r,n)}function q2(e,t,r,n,a){r=r.render;var i=t.ref;if("ref"in n){var l={};for(var s in n)s!=="ref"&&(l[s]=n[s])}else l=n;return ol(t),n=_m(e,t,r,l,i,a),s=Em(),e!==null&&!Ht?(wm(e,t,a),Ua(e,t,a)):(je&&s&&hm(t),t.flags|=1,dr(e,t,n,a),t.child)}function K2(e,t,r,n,a){if(e===null){var i=r.type;return typeof i=="function"&&!fm(i)&&i.defaultProps===void 0&&r.compare===null?(t.tag=15,t.type=i,F4(e,t,i,n,a)):(e=Ic(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Mm(e,a)){var l=i.memoizedProps;if(r=r.compare,r=r!==null?r:nu,r(l,n)&&e.ref===t.ref)return Ua(e,t,a)}return t.flags|=1,e=Ca(i,n),e.ref=t.ref,e.return=t,t.child=e}function F4(e,t,r,n,a){if(e!==null){var i=e.memoizedProps;if(nu(i,n)&&e.ref===t.ref)if(Ht=!1,t.pendingProps=n=i,Mm(e,a))e.flags&131072&&(Ht=!0);else return t.lanes=e.lanes,Ua(e,t,a)}return z1(e,t,r,n,a)}function A4(e,t,r,n){var a=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if(t.flags&128){if(i=i!==null?i.baseLanes|r:r,e!==null){for(n=t.child=e.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~i}else n=0,t.child=null;return Z2(e,t,i,r,n)}if(r&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Hc(t,i!==null?i.cachePool:null),i!==null?z2(t,i):D1(),Hw(t);else return n=t.lanes=536870912,Z2(e,t,i!==null?i.baseLanes|r:r,r,n)}else i!==null?(Hc(t,i.cachePool),z2(t,i),ri(),t.memoizedState=null):(e!==null&&Hc(t,null),D1(),ri());return dr(e,t,a,r),t.child}function To(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Z2(e,t,r,n,a){var i=mm();return i=i===null?null:{parent:It._currentValue,pool:i},t.memoizedState={baseLanes:r,cachePool:i},e!==null&&Hc(t,null),D1(),Hw(t),e!==null&&Gs(e,t,n,!0),t.childLanes=a,null}function $c(e,t){return t=gf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function W2(e,t,r){return ul(t,e.child,null,r),e=$c(t,t.pendingProps),e.flags|=2,Jr(t),t.memoizedState=null,e}function PF(e,t,r){var n=t.pendingProps,a=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(je){if(n.mode==="hidden")return e=$c(t,n),t.lanes=536870912,To(null,e);if(N1(t),(e=pt)?(e=y3(e,An),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bi!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},r=Nw(e),r.return=t,t.child=r,vr=t,pt=null)):e=null,e===null)throw Ti(t);return t.lanes=536870912,null}return $c(t,n)}var i=e.memoizedState;if(i!==null){var l=i.dehydrated;if(N1(t),a)if(t.flags&256)t.flags&=-257,t=W2(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(ue(558));else if(Ht||Gs(e,t,r,!1),a=(r&e.childLanes)!==0,Ht||a){if(n=ut,n!==null&&(l=aw(n,r),l!==0&&l!==i.retryLane))throw i.retryLane=l,Sl(e,l),Vr(n,e,l),Nm;Ef(),t=W2(e,t,r)}else e=i.treeContext,pt=Cn(l.nextSibling),vr=t,je=!0,pi=null,An=!1,e!==null&&kw(t,e),t=$c(t,n),t.flags|=4096;return t}return e=Ca(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Xc(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(ue(284));(e===null||e.ref!==r)&&(t.flags|=4194816)}}function z1(e,t,r,n,a){return ol(t),r=_m(e,t,r,n,void 0,a),n=Em(),e!==null&&!Ht?(wm(e,t,a),Ua(e,t,a)):(je&&n&&hm(t),t.flags|=1,dr(e,t,r,a),t.child)}function Q2(e,t,r,n,a,i){return ol(t),t.updateQueue=null,r=Gw(t,n,r,a),Vw(e),n=Em(),e!==null&&!Ht?(wm(e,t,i),Ua(e,t,i)):(je&&n&&hm(t),t.flags|=1,dr(e,t,r,i),t.child)}function J2(e,t,r,n,a){if(ol(t),t.stateNode===null){var i=ss,l=r.contextType;typeof l=="object"&&l!==null&&(i=yr(l)),i=new r(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=B1,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},gm(t),l=r.contextType,i.context=typeof l=="object"&&l!==null?yr(l):ss,i.state=t.memoizedState,l=r.getDerivedStateFromProps,typeof l=="function"&&(Oh(t,r,l,n),i.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(l=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),l!==i.state&&B1.enqueueReplaceState(i,i.state,null),zo(t,n,i,a),Po(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var s=t.memoizedProps,o=fl(r,s);i.props=o;var u=i.context,c=r.contextType;l=ss,typeof c=="object"&&c!==null&&(l=yr(c));var f=r.getDerivedStateFromProps;c=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s||u!==l)&&X2(t,i,n,l),Ja=!1;var h=t.memoizedState;i.state=h,zo(t,n,i,a),Po(),u=t.memoizedState,s||h!==u||Ja?(typeof f=="function"&&(Oh(t,r,f,n),u=t.memoizedState),(o=Ja||$2(t,r,o,n,h,u,l))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),i.props=n,i.state=u,i.context=l,n=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,C1(e,t),l=t.memoizedProps,c=fl(r,l),i.props=c,f=t.pendingProps,h=i.context,u=r.contextType,o=ss,typeof u=="object"&&u!==null&&(o=yr(u)),s=r.getDerivedStateFromProps,(u=typeof s=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==f||h!==o)&&X2(t,i,n,o),Ja=!1,h=t.memoizedState,i.state=h,zo(t,n,i,a),Po();var d=t.memoizedState;l!==f||h!==d||Ja||e!==null&&e.dependencies!==null&&cf(e.dependencies)?(typeof s=="function"&&(Oh(t,r,s,n),d=t.memoizedState),(c=Ja||$2(t,r,c,n,h,d,o)||e!==null&&e.dependencies!==null&&cf(e.dependencies))?(u||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,d,o),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,d,o)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=d),i.props=n,i.state=d,i.context=o,n=c):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,Xc(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,r=n&&typeof r.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=ul(t,e.child,null,a),t.child=ul(t,null,r,a)):dr(e,t,r,a),t.memoizedState=i.state,e=t.child):e=Ua(e,t,a),e}function ex(e,t,r,n){return sl(),t.flags|=256,dr(e,t,r,n),t.child}var Ch={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rh(e){return{baseLanes:e,cachePool:Bw()}}function Dh(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=ln),e}function O4(e,t,r){var n=t.pendingProps,a=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(Dt.current&2)!==0),l&&(a=!0,t.flags&=-129),l=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(a?ti(t):ri(),(e=pt)?(e=y3(e,An),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bi!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},r=Nw(e),r.return=t,t.child=r,vr=t,pt=null)):e=null,e===null)throw Ti(t);return Q1(e)?t.lanes=32:t.lanes=536870912,null}var s=n.children;return n=n.fallback,a?(ri(),a=t.mode,s=gf({mode:"hidden",children:s},a),n=Ji(n,a,r,null),s.return=t,n.return=t,s.sibling=n,t.child=s,n=t.child,n.memoizedState=Rh(r),n.childLanes=Dh(e,l,r),t.memoizedState=Ch,To(null,n)):(ti(t),U1(t,s))}var o=e.memoizedState;if(o!==null&&(s=o.dehydrated,s!==null)){if(i)t.flags&256?(ti(t),t.flags&=-257,t=Nh(e,t,r)):t.memoizedState!==null?(ri(),t.child=e.child,t.flags|=128,t=null):(ri(),s=n.fallback,a=t.mode,n=gf({mode:"visible",children:n.children},a),s=Ji(s,a,r,null),s.flags|=2,n.return=t,s.return=t,n.sibling=s,t.child=n,ul(t,e.child,null,r),n=t.child,n.memoizedState=Rh(r),n.childLanes=Dh(e,l,r),t.memoizedState=Ch,t=To(null,n));else if(ti(t),Q1(s)){if(l=s.nextSibling&&s.nextSibling.dataset,l)var u=l.dgst;l=u,n=Error(ue(419)),n.stack="",n.digest=l,iu({value:n,source:null,stack:null}),t=Nh(e,t,r)}else if(Ht||Gs(e,t,r,!1),l=(r&e.childLanes)!==0,Ht||l){if(l=ut,l!==null&&(n=aw(l,r),n!==0&&n!==o.retryLane))throw o.retryLane=n,Sl(e,n),Vr(l,e,n),Nm;W1(s)||Ef(),t=Nh(e,t,r)}else W1(s)?(t.flags|=192,t.child=e.child,t=null):(e=o.treeContext,pt=Cn(s.nextSibling),vr=t,je=!0,pi=null,An=!1,e!==null&&kw(t,e),t=U1(t,n.children),t.flags|=4096);return t}return a?(ri(),s=n.fallback,a=t.mode,o=e.child,u=o.sibling,n=Ca(o,{mode:"hidden",children:n.children}),n.subtreeFlags=o.subtreeFlags&65011712,u!==null?s=Ca(u,s):(s=Ji(s,a,r,null),s.flags|=2),s.return=t,n.return=t,n.sibling=s,t.child=n,To(null,n),n=t.child,s=e.child.memoizedState,s===null?s=Rh(r):(a=s.cachePool,a!==null?(o=It._currentValue,a=a.parent!==o?{parent:o,pool:o}:a):a=Bw(),s={baseLanes:s.baseLanes|r,cachePool:a}),n.memoizedState=s,n.childLanes=Dh(e,l,r),t.memoizedState=Ch,To(e.child,n)):(ti(t),r=e.child,e=r.sibling,r=Ca(r,{mode:"visible",children:n.children}),r.return=t,r.sibling=null,e!==null&&(l=t.deletions,l===null?(t.deletions=[e],t.flags|=16):l.push(e)),t.child=r,t.memoizedState=null,r)}function U1(e,t){return t=gf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function gf(e,t){return e=rn(22,e,null,t),e.lanes=0,e}function Nh(e,t,r){return ul(t,e.child,null,r),e=U1(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function tx(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),F1(e.return,t,r)}function Mh(e,t,r,n,a,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a,treeForkCount:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=n,l.tail=r,l.tailMode=a,l.treeForkCount=i)}function C4(e,t,r){var n=t.pendingProps,a=n.revealOrder,i=n.tail;n=n.children;var l=Dt.current,s=(l&2)!==0;if(s?(l=l&1|2,t.flags|=128):l&=1,ct(Dt,l),dr(e,t,n,r),n=je?au:0,!s&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tx(e,r,t);else if(e.tag===19)tx(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(r=t.child,a=null;r!==null;)e=r.alternate,e!==null&&df(e)===null&&(a=r),r=r.sibling;r=a,r===null?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),Mh(t,!1,a,r,i,n);break;case"backwards":case"unstable_legacy-backwards":for(r=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&df(e)===null){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}Mh(t,!0,r,null,i,n);break;case"together":Mh(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function Ua(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ai|=t.lanes,!(r&t.childLanes))if(e!==null){if(Gs(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(ue(153));if(t.child!==null){for(e=t.child,r=Ca(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ca(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Mm(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&cf(e)))}function zF(e,t,r){switch(t.tag){case 3:rf(t,t.stateNode.containerInfo),ei(t,It,e.memoizedState.cache),sl();break;case 27:case 5:d1(t);break;case 4:rf(t,t.stateNode.containerInfo);break;case 10:ei(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,N1(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(ti(t),t.flags|=128,null):r&t.child.childLanes?O4(e,t,r):(ti(t),e=Ua(e,t,r),e!==null?e.sibling:null);ti(t);break;case 19:var a=(e.flags&128)!==0;if(n=(r&t.childLanes)!==0,n||(Gs(e,t,r,!1),n=(r&t.childLanes)!==0),a){if(n)return C4(e,t,r);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),ct(Dt,Dt.current),n)break;return null;case 22:return t.lanes=0,A4(e,t,r,t.pendingProps);case 24:ei(t,It,e.memoizedState.cache)}return Ua(e,t,r)}function R4(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ht=!0;else{if(!Mm(e,r)&&!(t.flags&128))return Ht=!1,zF(e,t,r);Ht=!!(e.flags&131072)}else Ht=!1,je&&t.flags&1048576&&Mw(t,au,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=Yi(t.elementType),t.type=e,typeof e=="function")fm(e)?(n=fl(e,n),t.tag=1,t=J2(null,t,e,n,r)):(t.tag=0,t=z1(null,t,e,n,r));else{if(e!=null){var a=e.$$typeof;if(a===Wp){t.tag=11,t=q2(null,t,e,n,r);break e}else if(a===Qp){t.tag=14,t=K2(null,t,e,n,r);break e}}throw t=f1(e)||e,Error(ue(306,t,""))}}return t;case 0:return z1(e,t,t.type,t.pendingProps,r);case 1:return n=t.type,a=fl(n,t.pendingProps),J2(e,t,n,a,r);case 3:e:{if(rf(t,t.stateNode.containerInfo),e===null)throw Error(ue(387));n=t.pendingProps;var i=t.memoizedState;a=i.element,C1(e,t),zo(t,n,null,r);var l=t.memoizedState;if(n=l.cache,ei(t,It,n),n!==i.cache&&A1(t,[It],r,!0),Po(),n=l.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=ex(e,t,n,r);break e}else if(n!==a){a=Fn(Error(ue(424)),t),iu(a),t=ex(e,t,n,r);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(pt=Cn(e.firstChild),vr=t,je=!0,pi=null,An=!0,r=Uw(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(sl(),n===a){t=Ua(e,t,r);break e}dr(e,t,n,r)}t=t.child}return t;case 26:return Xc(e,t),e===null?(r=Ex(t.type,null,t.pendingProps,null))?t.memoizedState=r:je||(r=t.type,e=t.pendingProps,n=Tf(di.current).createElement(r),n[mr]=t,n[$r]=e,_r(n,r,e),nr(n),t.stateNode=n):t.memoizedState=Ex(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return d1(t),e===null&&je&&(n=t.stateNode=_3(t.type,t.pendingProps,di.current),vr=t,An=!0,a=pt,Li(t.type)?(J1=a,pt=Cn(n.firstChild)):pt=a),dr(e,t,t.pendingProps.children,r),Xc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((a=n=pt)&&(n=pA(n,t.type,t.pendingProps,An),n!==null?(t.stateNode=n,vr=t,pt=Cn(n.firstChild),An=!1,a=!0):a=!1),a||Ti(t)),d1(t),a=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,n=i.children,K1(a,i)?n=null:l!==null&&K1(a,l)&&(t.flags|=32),t.memoizedState!==null&&(a=_m(e,t,CF,null,null,r),fu._currentValue=a),Xc(e,t),dr(e,t,n,r),t.child;case 6:return e===null&&je&&((e=r=pt)&&(r=mA(r,t.pendingProps,An),r!==null?(t.stateNode=r,vr=t,pt=null,e=!0):e=!1),e||Ti(t)),null;case 13:return O4(e,t,r);case 4:return rf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ul(t,null,n,r):dr(e,t,n,r),t.child;case 11:return q2(e,t,t.type,t.pendingProps,r);case 7:return dr(e,t,t.pendingProps,r),t.child;case 8:return dr(e,t,t.pendingProps.children,r),t.child;case 12:return dr(e,t,t.pendingProps.children,r),t.child;case 10:return n=t.pendingProps,ei(t,t.type,n.value),dr(e,t,n.children,r),t.child;case 9:return a=t.type._context,n=t.pendingProps.children,ol(t),a=yr(a),n=n(a),t.flags|=1,dr(e,t,n,r),t.child;case 14:return K2(e,t,t.type,t.pendingProps,r);case 15:return F4(e,t,t.type,t.pendingProps,r);case 19:return C4(e,t,r);case 31:return PF(e,t,r);case 22:return A4(e,t,r,t.pendingProps);case 24:return ol(t),n=yr(It),e===null?(a=mm(),a===null&&(a=ut,i=pm(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=r),a=i),t.memoizedState={parent:n,cache:a},gm(t),ei(t,It,a)):(e.lanes&r&&(C1(e,t),zo(t,null,null,r),Po()),a=e.memoizedState,i=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),ei(t,It,n)):(n=i.cache,ei(t,It,n),n!==a.cache&&A1(t,[It],r,!0))),dr(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(ue(156,t.tag))}function pa(e){e.flags|=4}function kh(e,t,r,n,a){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(a&335544128)===a)if(e.stateNode.complete)e.flags|=8192;else if(e3())e.flags|=8192;else throw tl=ff,vm}else e.flags&=-16777217}function rx(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!S3(t))if(e3())e.flags|=8192;else throw tl=ff,vm}function cc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?tw():536870912,e.lanes|=t,Ns|=t)}function po(e,t){if(!je)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function dt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;a!==null;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function UF(e,t,r){var n=t.pendingProps;switch(dm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(t),null;case 1:return dt(t),null;case 3:return r=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ra(It),Fs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zl(t)?pa(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Th())),dt(t),null;case 26:var a=t.type,i=t.memoizedState;return e===null?(pa(t),i!==null?(dt(t),rx(t,i)):(dt(t),kh(t,a,null,n,r))):i?i!==e.memoizedState?(pa(t),dt(t),rx(t,i)):(dt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&pa(t),dt(t),kh(t,a,e,n,r)),null;case 27:if(nf(t),r=di.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&pa(t);else{if(!n){if(t.stateNode===null)throw Error(ue(166));return dt(t),null}e=ia.current,zl(t)?D2(t):(e=_3(a,n,r),t.stateNode=e,pa(t))}return dt(t),null;case 5:if(nf(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&pa(t);else{if(!n){if(t.stateNode===null)throw Error(ue(166));return dt(t),null}if(i=ia.current,zl(t))D2(t);else{var l=Tf(di.current);switch(i){case 1:i=l.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=l.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=l.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?l.createElement("select",{is:n.is}):l.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?l.createElement(a,{is:n.is}):l.createElement(a)}}i[mr]=t,i[$r]=n;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)i.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=i;e:switch(_r(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&pa(t)}}return dt(t),kh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&pa(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(ue(166));if(e=di.current,zl(t)){if(e=t.stateNode,r=t.memoizedProps,n=null,a=vr,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}e[mr]=t,e=!!(e.nodeValue===r||n!==null&&n.suppressHydrationWarning===!0||v3(e.nodeValue,r)),e||Ti(t,!0)}else e=Tf(e).createTextNode(n),e[mr]=t,t.stateNode=e}return dt(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(n=zl(t),r!==null){if(e===null){if(!n)throw Error(ue(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ue(557));e[mr]=t}else sl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;dt(t),e=!1}else r=Th(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(Jr(t),t):(Jr(t),null);if(t.flags&128)throw Error(ue(558))}return dt(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=zl(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(ue(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(ue(317));a[mr]=t}else sl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;dt(t),a=!1}else a=Th(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Jr(t),t):(Jr(t),null)}return Jr(t),t.flags&128?(t.lanes=r,t):(r=n!==null,e=e!==null&&e.memoizedState!==null,r&&(n=t.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),cc(t,t.updateQueue),dt(t),null);case 4:return Fs(),e===null&&jm(t.stateNode.containerInfo),dt(t),null;case 10:return Ra(t.type),dt(t),null;case 19:if(sr(Dt),n=t.memoizedState,n===null)return dt(t),null;if(a=(t.flags&128)!==0,i=n.rendering,i===null)if(a)po(n,!1);else{if(At!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=df(e),i!==null){for(t.flags|=128,po(n,!1),e=i.updateQueue,t.updateQueue=e,cc(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)Dw(r,e),r=r.sibling;return ct(Dt,Dt.current&1|2),je&&Sa(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&sn()>yf&&(t.flags|=128,a=!0,po(n,!1),t.lanes=4194304)}else{if(!a)if(e=df(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,cc(t,e),po(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!je)return dt(t),null}else 2*sn()-n.renderingStartTime>yf&&r!==536870912&&(t.flags|=128,a=!0,po(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=sn(),e.sibling=null,r=Dt.current,ct(Dt,a?r&1|2:r&1),je&&Sa(t,n.treeForkCount),e):(dt(t),null);case 22:case 23:return Jr(t),xm(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?r&536870912&&!(t.flags&128)&&(dt(t),t.subtreeFlags&6&&(t.flags|=8192)):dt(t),r=t.updateQueue,r!==null&&cc(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==r&&(t.flags|=2048),e!==null&&sr(el),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ra(It),dt(t),null;case 25:return null;case 30:return null}throw Error(ue(156,t.tag))}function jF(e,t){switch(dm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ra(It),Fs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return nf(t),null;case 31:if(t.memoizedState!==null){if(Jr(t),t.alternate===null)throw Error(ue(340));sl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Jr(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ue(340));sl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return sr(Dt),null;case 4:return Fs(),null;case 10:return Ra(t.type),null;case 22:case 23:return Jr(t),xm(),e!==null&&sr(el),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ra(It),null;case 25:return null;default:return null}}function D4(e,t){switch(dm(t),t.tag){case 3:Ra(It),Fs();break;case 26:case 27:case 5:nf(t);break;case 4:Fs();break;case 31:t.memoizedState!==null&&Jr(t);break;case 13:Jr(t);break;case 19:sr(Dt);break;case 10:Ra(t.type);break;case 22:case 23:Jr(t),xm(),e!==null&&sr(el);break;case 24:Ra(It)}}function Bu(e,t){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){n=void 0;var i=r.create,l=r.inst;n=i(),l.destroy=n}r=r.next}while(r!==a)}}catch(s){et(t,t.return,s)}}function Fi(e,t,r){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){var l=n.inst,s=l.destroy;if(s!==void 0){l.destroy=void 0,a=t;var o=r,u=s;try{u()}catch(c){et(a,o,c)}}}n=n.next}while(n!==i)}}catch(c){et(t,t.return,c)}}function N4(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{Iw(t,r)}catch(n){et(e,e.return,n)}}}function M4(e,t,r){r.props=fl(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(n){et(e,t,n)}}function jo(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof r=="function"?e.refCleanup=r(n):r.current=n}}catch(a){et(e,t,a)}}function ra(e,t){var r=e.ref,n=e.refCleanup;if(r!==null)if(typeof n=="function")try{n()}catch(a){et(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(a){et(e,t,a)}else r.current=null}function k4(e){var t=e.type,r=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&n.focus();break e;case"img":r.src?n.src=r.src:r.srcSet&&(n.srcset=r.srcSet)}}catch(a){et(e,e.return,a)}}function Lh(e,t,r){try{var n=e.stateNode;oA(n,e.type,r,t),n[$r]=t}catch(a){et(e,e.return,a)}}function L4(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Li(e.type)||e.tag===4}function Bh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||L4(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Li(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function j1(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Aa));else if(n!==4&&(n===27&&Li(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(j1(e,t,r),e=e.sibling;e!==null;)j1(e,t,r),e=e.sibling}function xf(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(n===27&&Li(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(xf(e,t,r),e=e.sibling;e!==null;)xf(e,t,r),e=e.sibling}function B4(e){var t=e.stateNode,r=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);_r(t,n,r),t[mr]=e,t[$r]=r}catch(i){et(e,e.return,i)}}var ba=!1,jt=!1,Ph=!1,nx=typeof WeakSet=="function"?WeakSet:Set,rr=null;function IF(e,t){if(e=e.containerInfo,Y1=Cf,e=Sw(e),om(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var l=0,s=-1,o=-1,u=0,c=0,f=e,h=null;t:for(;;){for(var d;f!==r||a!==0&&f.nodeType!==3||(s=l+a),f!==i||n!==0&&f.nodeType!==3||(o=l+n),f.nodeType===3&&(l+=f.nodeValue.length),(d=f.firstChild)!==null;)h=f,f=d;for(;;){if(f===e)break t;if(h===r&&++u===a&&(s=l),h===i&&++c===n&&(o=l),(d=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=d}r=s===-1||o===-1?null:{start:s,end:o}}else r=null}r=r||{start:0,end:0}}else r=null;for(q1={focusedElem:e,selectionRange:r},Cf=!1,rr=t;rr!==null;)if(t=rr,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,rr=e;else for(;rr!==null;){switch(t=rr,i=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)a=e[r],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&i!==null){e=void 0,r=t,a=i.memoizedProps,i=i.memoizedState,n=r.stateNode;try{var p=fl(r.type,a);e=n.getSnapshotBeforeUpdate(p,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(m){et(r,r.return,m)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,r=e.nodeType,r===9)Z1(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Z1(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(ue(163))}if(e=t.sibling,e!==null){e.return=t.return,rr=e;break}rr=t.return}}function P4(e,t,r){var n=r.flags;switch(r.tag){case 0:case 11:case 15:va(e,r),n&4&&Bu(5,r);break;case 1:if(va(e,r),n&4)if(e=r.stateNode,t===null)try{e.componentDidMount()}catch(l){et(r,r.return,l)}else{var a=fl(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){et(r,r.return,l)}}n&64&&N4(r),n&512&&jo(r,r.return);break;case 3:if(va(e,r),n&64&&(e=r.updateQueue,e!==null)){if(t=null,r.child!==null)switch(r.child.tag){case 27:case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}try{Iw(e,t)}catch(l){et(r,r.return,l)}}break;case 27:t===null&&n&4&&B4(r);case 26:case 5:va(e,r),t===null&&n&4&&k4(r),n&512&&jo(r,r.return);break;case 12:va(e,r);break;case 31:va(e,r),n&4&&j4(e,r);break;case 13:va(e,r),n&4&&I4(e,r),n&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=ZF.bind(null,r),vA(e,r))));break;case 22:if(n=r.memoizedState!==null||ba,!n){t=t!==null&&t.memoizedState!==null||jt,a=ba;var i=jt;ba=n,(jt=t)&&!i?Ea(e,r,(r.subtreeFlags&8772)!==0):va(e,r),ba=a,jt=i}break;case 30:break;default:va(e,r)}}function z4(e){var t=e.alternate;t!==null&&(e.alternate=null,z4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&rm(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var yt=null,Ur=!1;function ma(e,t,r){for(r=r.child;r!==null;)U4(e,t,r),r=r.sibling}function U4(e,t,r){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(Cu,r)}catch{}switch(r.tag){case 26:jt||ra(r,t),ma(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:jt||ra(r,t);var n=yt,a=Ur;Li(r.type)&&(yt=r.stateNode,Ur=!1),ma(e,t,r),Go(r.stateNode),yt=n,Ur=a;break;case 5:jt||ra(r,t);case 6:if(n=yt,a=Ur,yt=null,ma(e,t,r),yt=n,Ur=a,yt!==null)if(Ur)try{(yt.nodeType===9?yt.body:yt.nodeName==="HTML"?yt.ownerDocument.body:yt).removeChild(r.stateNode)}catch(i){et(r,t,i)}else try{yt.removeChild(r.stateNode)}catch(i){et(r,t,i)}break;case 18:yt!==null&&(Ur?(e=yt,vx(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),Bs(e)):vx(yt,r.stateNode));break;case 4:n=yt,a=Ur,yt=r.stateNode.containerInfo,Ur=!0,ma(e,t,r),yt=n,Ur=a;break;case 0:case 11:case 14:case 15:Fi(2,r,t),jt||Fi(4,r,t),ma(e,t,r);break;case 1:jt||(ra(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"&&M4(r,t,n)),ma(e,t,r);break;case 21:ma(e,t,r);break;case 22:jt=(n=jt)||r.memoizedState!==null,ma(e,t,r),jt=n;break;default:ma(e,t,r)}}function j4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bs(e)}catch(r){et(t,t.return,r)}}}function I4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bs(e)}catch(r){et(t,t.return,r)}}function HF(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new nx),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new nx),t;default:throw Error(ue(435,e.tag))}}function fc(e,t){var r=HF(e);t.forEach(function(n){if(!r.has(n)){r.add(n);var a=WF.bind(null,e,n);n.then(a,a)}})}function Pr(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var a=r[n],i=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 27:if(Li(s.type)){yt=s.stateNode,Ur=!1;break e}break;case 5:yt=s.stateNode,Ur=!1;break e;case 3:case 4:yt=s.stateNode.containerInfo,Ur=!0;break e}s=s.return}if(yt===null)throw Error(ue(160));U4(i,l,a),yt=null,Ur=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)H4(t,e),t=t.sibling}var jn=null;function H4(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Pr(t,e),zr(e),n&4&&(Fi(3,e,e.return),Bu(3,e),Fi(5,e,e.return));break;case 1:Pr(t,e),zr(e),n&512&&(jt||r===null||ra(r,r.return)),n&64&&ba&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?n:r.concat(n))));break;case 26:var a=jn;if(Pr(t,e),zr(e),n&512&&(jt||r===null||ra(r,r.return)),n&4){var i=r!==null?r.memoizedState:null;if(n=e.memoizedState,r===null)if(n===null)if(e.stateNode===null){e:{n=e.type,r=e.memoizedProps,a=a.ownerDocument||a;t:switch(n){case"title":i=a.getElementsByTagName("title")[0],(!i||i[Nu]||i[mr]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(n),a.head.insertBefore(i,a.querySelector("head > title"))),_r(i,n,r),i[mr]=e,nr(i),n=i;break e;case"link":var l=Sx("link","href",a).get(n+(r.href||""));if(l){for(var s=0;s<l.length;s++)if(i=l[s],i.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&i.getAttribute("rel")===(r.rel==null?null:r.rel)&&i.getAttribute("title")===(r.title==null?null:r.title)&&i.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){l.splice(s,1);break t}}i=a.createElement(n),_r(i,n,r),a.head.appendChild(i);break;case"meta":if(l=Sx("meta","content",a).get(n+(r.content||""))){for(s=0;s<l.length;s++)if(i=l[s],i.getAttribute("content")===(r.content==null?null:""+r.content)&&i.getAttribute("name")===(r.name==null?null:r.name)&&i.getAttribute("property")===(r.property==null?null:r.property)&&i.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&i.getAttribute("charset")===(r.charSet==null?null:r.charSet)){l.splice(s,1);break t}}i=a.createElement(n),_r(i,n,r),a.head.appendChild(i);break;default:throw Error(ue(468,n))}i[mr]=e,nr(i),n=i}e.stateNode=n}else bx(a,e.type,e.stateNode);else e.stateNode=wx(a,n,e.memoizedProps);else i!==n?(i===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):i.count--,n===null?bx(a,e.type,e.stateNode):wx(a,n,e.memoizedProps)):n===null&&e.stateNode!==null&&Lh(e,e.memoizedProps,r.memoizedProps)}break;case 27:Pr(t,e),zr(e),n&512&&(jt||r===null||ra(r,r.return)),r!==null&&n&4&&Lh(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Pr(t,e),zr(e),n&512&&(jt||r===null||ra(r,r.return)),e.flags&32){a=e.stateNode;try{Os(a,"")}catch(p){et(e,e.return,p)}}n&4&&e.stateNode!=null&&(a=e.memoizedProps,Lh(e,a,r!==null?r.memoizedProps:a)),n&1024&&(Ph=!0);break;case 6:if(Pr(t,e),zr(e),n&4){if(e.stateNode===null)throw Error(ue(162));n=e.memoizedProps,r=e.stateNode;try{r.nodeValue=n}catch(p){et(e,e.return,p)}}break;case 3:if(Kc=null,a=jn,jn=Ff(t.containerInfo),Pr(t,e),jn=a,zr(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Bs(t.containerInfo)}catch(p){et(e,e.return,p)}Ph&&(Ph=!1,V4(e));break;case 4:n=jn,jn=Ff(e.stateNode.containerInfo),Pr(t,e),zr(e),jn=n;break;case 12:Pr(t,e),zr(e);break;case 31:Pr(t,e),zr(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,fc(e,n)));break;case 13:Pr(t,e),zr(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(O0=sn()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,fc(e,n)));break;case 22:a=e.memoizedState!==null;var o=r!==null&&r.memoizedState!==null,u=ba,c=jt;if(ba=u||a,jt=c||o,Pr(t,e),jt=c,ba=u,zr(e),n&8192)e:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(r===null||o||ba||jt||qi(e)),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){o=r=t;try{if(i=o.stateNode,a)l=i.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none";else{s=o.stateNode;var f=o.memoizedProps.style,h=f!=null&&f.hasOwnProperty("display")?f.display:null;s.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(p){et(o,o.return,p)}}}else if(t.tag===6){if(r===null){o=t;try{o.stateNode.nodeValue=a?"":o.memoizedProps}catch(p){et(o,o.return,p)}}}else if(t.tag===18){if(r===null){o=t;try{var d=o.stateNode;a?gx(d,!0):gx(o.stateNode,!1)}catch(p){et(o,o.return,p)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(r=n.retryQueue,r!==null&&(n.retryQueue=null,fc(e,r))));break;case 19:Pr(t,e),zr(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,fc(e,n)));break;case 30:break;case 21:break;default:Pr(t,e),zr(e)}}function zr(e){var t=e.flags;if(t&2){try{for(var r,n=e.return;n!==null;){if(L4(n)){r=n;break}n=n.return}if(r==null)throw Error(ue(160));switch(r.tag){case 27:var a=r.stateNode,i=Bh(e);xf(e,i,a);break;case 5:var l=r.stateNode;r.flags&32&&(Os(l,""),r.flags&=-33);var s=Bh(e);xf(e,s,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=Bh(e);j1(e,u,o);break;default:throw Error(ue(161))}}catch(c){et(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function V4(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;V4(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function va(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)P4(e,t.alternate,t),t=t.sibling}function qi(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Fi(4,t,t.return),qi(t);break;case 1:ra(t,t.return);var r=t.stateNode;typeof r.componentWillUnmount=="function"&&M4(t,t.return,r),qi(t);break;case 27:Go(t.stateNode);case 26:case 5:ra(t,t.return),qi(t);break;case 22:t.memoizedState===null&&qi(t);break;case 30:qi(t);break;default:qi(t)}e=e.sibling}}function Ea(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,a=e,i=t,l=i.flags;switch(i.tag){case 0:case 11:case 15:Ea(a,i,r),Bu(4,i);break;case 1:if(Ea(a,i,r),n=i,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(u){et(n,n.return,u)}if(n=i,a=n.updateQueue,a!==null){var s=n.stateNode;try{var o=a.shared.hiddenCallbacks;if(o!==null)for(a.shared.hiddenCallbacks=null,a=0;a<o.length;a++)jw(o[a],s)}catch(u){et(n,n.return,u)}}r&&l&64&&N4(i),jo(i,i.return);break;case 27:B4(i);case 26:case 5:Ea(a,i,r),r&&n===null&&l&4&&k4(i),jo(i,i.return);break;case 12:Ea(a,i,r);break;case 31:Ea(a,i,r),r&&l&4&&j4(a,i);break;case 13:Ea(a,i,r),r&&l&4&&I4(a,i);break;case 22:i.memoizedState===null&&Ea(a,i,r),jo(i,i.return);break;case 30:break;default:Ea(a,i,r)}t=t.sibling}}function km(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&ku(r))}function Lm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ku(e))}function Bn(e,t,r,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)G4(e,t,r,n),t=t.sibling}function G4(e,t,r,n){var a=t.flags;switch(t.tag){case 0:case 11:case 15:Bn(e,t,r,n),a&2048&&Bu(9,t);break;case 1:Bn(e,t,r,n);break;case 3:Bn(e,t,r,n),a&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ku(e)));break;case 12:if(a&2048){Bn(e,t,r,n),e=t.stateNode;try{var i=t.memoizedProps,l=i.id,s=i.onPostCommit;typeof s=="function"&&s(l,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(o){et(t,t.return,o)}}else Bn(e,t,r,n);break;case 31:Bn(e,t,r,n);break;case 13:Bn(e,t,r,n);break;case 23:break;case 22:i=t.stateNode,l=t.alternate,t.memoizedState!==null?i._visibility&2?Bn(e,t,r,n):Io(e,t):i._visibility&2?Bn(e,t,r,n):(i._visibility|=2,Yl(e,t,r,n,(t.subtreeFlags&10256)!==0||!1)),a&2048&&km(l,t);break;case 24:Bn(e,t,r,n),a&2048&&Lm(t.alternate,t);break;default:Bn(e,t,r,n)}}function Yl(e,t,r,n,a){for(a=a&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,l=t,s=r,o=n,u=l.flags;switch(l.tag){case 0:case 11:case 15:Yl(i,l,s,o,a),Bu(8,l);break;case 23:break;case 22:var c=l.stateNode;l.memoizedState!==null?c._visibility&2?Yl(i,l,s,o,a):Io(i,l):(c._visibility|=2,Yl(i,l,s,o,a)),a&&u&2048&&km(l.alternate,l);break;case 24:Yl(i,l,s,o,a),a&&u&2048&&Lm(l.alternate,l);break;default:Yl(i,l,s,o,a)}t=t.sibling}}function Io(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,n=t,a=n.flags;switch(n.tag){case 22:Io(r,n),a&2048&&km(n.alternate,n);break;case 24:Io(r,n),a&2048&&Lm(n.alternate,n);break;default:Io(r,n)}t=t.sibling}}var Fo=8192;function Ul(e,t,r){if(e.subtreeFlags&Fo)for(e=e.child;e!==null;)$4(e,t,r),e=e.sibling}function $4(e,t,r){switch(e.tag){case 26:Ul(e,t,r),e.flags&Fo&&e.memoizedState!==null&&OA(r,jn,e.memoizedState,e.memoizedProps);break;case 5:Ul(e,t,r);break;case 3:case 4:var n=jn;jn=Ff(e.stateNode.containerInfo),Ul(e,t,r),jn=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Fo,Fo=16777216,Ul(e,t,r),Fo=n):Ul(e,t,r));break;default:Ul(e,t,r)}}function X4(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function mo(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var r=0;r<t.length;r++){var n=t[r];rr=n,q4(n,e)}X4(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Y4(e),e=e.sibling}function Y4(e){switch(e.tag){case 0:case 11:case 15:mo(e),e.flags&2048&&Fi(9,e,e.return);break;case 3:mo(e);break;case 12:mo(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yc(e)):mo(e);break;default:mo(e)}}function Yc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var r=0;r<t.length;r++){var n=t[r];rr=n,q4(n,e)}X4(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Fi(8,t,t.return),Yc(t);break;case 22:r=t.stateNode,r._visibility&2&&(r._visibility&=-3,Yc(t));break;default:Yc(t)}e=e.sibling}}function q4(e,t){for(;rr!==null;){var r=rr;switch(r.tag){case 0:case 11:case 15:Fi(8,r,t);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var n=r.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:ku(r.memoizedState.cache)}if(n=r.child,n!==null)n.return=r,rr=n;else e:for(r=e;rr!==null;){n=rr;var a=n.sibling,i=n.return;if(z4(n),n===r){rr=null;break e}if(a!==null){a.return=i,rr=a;break e}rr=i}}}var VF={getCacheForType:function(e){var t=yr(It),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return yr(It).controller.signal}},GF=typeof WeakMap=="function"?WeakMap:Map,Xe=0,ut=null,ze=null,Ue=0,Qe=0,Zr=null,si=!1,Xs=!1,Bm=!1,ja=0,At=0,Ai=0,rl=0,Pm=0,ln=0,Ns=0,Ho=null,jr=null,I1=!1,O0=0,K4=0,yf=1/0,_f=null,gi=null,Wt=0,xi=null,Ms=null,Da=0,H1=0,V1=null,Z4=null,Vo=0,G1=null;function cn(){return Xe&2&&Ue!==0?Ue&-Ue:De.T!==null?Um():iw()}function W4(){if(ln===0)if(!(Ue&536870912)||je){var e=nc;nc<<=1,!(nc&3932160)&&(nc=262144),ln=e}else ln=536870912;return e=pn.current,e!==null&&(e.flags|=32),ln}function Vr(e,t,r){(e===ut&&(Qe===2||Qe===9)||e.cancelPendingCommit!==null)&&(ks(e,0),oi(e,Ue,ln,!1)),Du(e,r),(!(Xe&2)||e!==ut)&&(e===ut&&(!(Xe&2)&&(rl|=r),At===4&&oi(e,Ue,ln,!1)),ua(e))}function Q4(e,t,r){if(Xe&6)throw Error(ue(327));var n=!r&&(t&127)===0&&(t&e.expiredLanes)===0||Ru(e,t),a=n?YF(e,t):zh(e,t,!0),i=n;do{if(a===0){Xs&&!n&&oi(e,t,0,!1);break}else{if(r=e.current.alternate,i&&!$F(r)){a=zh(e,t,!1),i=!1;continue}if(a===2){if(i=t,e.errorRecoveryDisabledLanes&i)var l=0;else l=e.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){t=l;e:{var s=e;a=Ho;var o=s.current.memoizedState.isDehydrated;if(o&&(ks(s,l).flags|=256),l=zh(s,l,!1),l!==2){if(Bm&&!o){s.errorRecoveryDisabledLanes|=i,rl|=i,a=4;break e}i=jr,jr=a,i!==null&&(jr===null?jr=i:jr.push.apply(jr,i))}a=l}if(i=!1,a!==2)continue}}if(a===1){ks(e,0),oi(e,t,0,!0);break}e:{switch(n=e,i=a,i){case 0:case 1:throw Error(ue(345));case 4:if((t&4194048)!==t)break;case 6:oi(n,t,ln,!si);break e;case 2:jr=null;break;case 3:case 5:break;default:throw Error(ue(329))}if((t&62914560)===t&&(a=O0+300-sn(),10<a)){if(oi(n,t,ln,!si),g0(n,0,!0)!==0)break e;Da=t,n.timeoutHandle=x3(ax.bind(null,n,r,jr,_f,I1,t,ln,rl,Ns,si,i,"Throttled",-0,0),a);break e}ax(n,r,jr,_f,I1,t,ln,rl,Ns,si,i,null,-0,0)}}break}while(!0);ua(e)}function ax(e,t,r,n,a,i,l,s,o,u,c,f,h,d){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Aa},$4(t,i,f);var p=(i&62914560)===i?O0-sn():(i&4194048)===i?K4-sn():0;if(p=CA(f,p),p!==null){Da=i,e.cancelPendingCommit=p(lx.bind(null,e,t,i,r,n,a,l,s,o,c,f,null,h,d)),oi(e,i,l,!u);return}}lx(e,t,i,r,n,a,l,s,o)}function $F(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var n=0;n<r.length;n++){var a=r[n],i=a.getSnapshot;a=a.value;try{if(!dn(i(),a))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function oi(e,t,r,n){t&=~Pm,t&=~rl,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var i=31-un(a),l=1<<i;n[i]=-1,a&=~l}r!==0&&rw(e,r,t)}function C0(){return Xe&6?!0:(Pu(0),!1)}function zm(){if(ze!==null){if(Qe===0)var e=ze.return;else e=ze,Oa=bl=null,Sm(e),gs=null,lu=0,e=ze;for(;e!==null;)D4(e.alternate,e),e=e.return;ze=null}}function ks(e,t){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,fA(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Da=0,zm(),ut=e,ze=r=Ca(e.current,null),Ue=t,Qe=0,Zr=null,si=!1,Xs=Ru(e,t),Bm=!1,Ns=ln=Pm=rl=Ai=At=0,jr=Ho=null,I1=!1,t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-un(n),i=1<<a;t|=e[a],n&=~i}return ja=t,E0(),r}function J4(e,t){Le=null,De.H=ou,t===$s||t===S0?(t=B2(),Qe=3):t===vm?(t=B2(),Qe=4):Qe=t===Nm?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Zr=t,ze===null&&(At=1,vf(e,Fn(t,e.current)))}function e3(){var e=pn.current;return e===null?!0:(Ue&4194048)===Ue?On===null:(Ue&62914560)===Ue||Ue&536870912?e===On:!1}function t3(){var e=De.H;return De.H=ou,e===null?ou:e}function r3(){var e=De.A;return De.A=VF,e}function Ef(){At=4,si||(Ue&4194048)!==Ue&&pn.current!==null||(Xs=!0),!(Ai&134217727)&&!(rl&134217727)||ut===null||oi(ut,Ue,ln,!1)}function zh(e,t,r){var n=Xe;Xe|=2;var a=t3(),i=r3();(ut!==e||Ue!==t)&&(_f=null,ks(e,t)),t=!1;var l=At;e:do try{if(Qe!==0&&ze!==null){var s=ze,o=Zr;switch(Qe){case 8:zm(),l=6;break e;case 3:case 2:case 9:case 6:pn.current===null&&(t=!0);var u=Qe;if(Qe=0,Zr=null,cs(e,s,o,u),r&&Xs){l=0;break e}break;default:u=Qe,Qe=0,Zr=null,cs(e,s,o,u)}}XF(),l=At;break}catch(c){J4(e,c)}while(!0);return t&&e.shellSuspendCounter++,Oa=bl=null,Xe=n,De.H=a,De.A=i,ze===null&&(ut=null,Ue=0,E0()),l}function XF(){for(;ze!==null;)n3(ze)}function YF(e,t){var r=Xe;Xe|=2;var n=t3(),a=r3();ut!==e||Ue!==t?(_f=null,yf=sn()+500,ks(e,t)):Xs=Ru(e,t);e:do try{if(Qe!==0&&ze!==null){t=ze;var i=Zr;t:switch(Qe){case 1:Qe=0,Zr=null,cs(e,t,i,1);break;case 2:case 9:if(L2(i)){Qe=0,Zr=null,ix(t);break}t=function(){Qe!==2&&Qe!==9||ut!==e||(Qe=7),ua(e)},i.then(t,t);break e;case 3:Qe=7;break e;case 4:Qe=5;break e;case 7:L2(i)?(Qe=0,Zr=null,ix(t)):(Qe=0,Zr=null,cs(e,t,i,7));break;case 5:var l=null;switch(ze.tag){case 26:l=ze.memoizedState;case 5:case 27:var s=ze;if(l?S3(l):s.stateNode.complete){Qe=0,Zr=null;var o=s.sibling;if(o!==null)ze=o;else{var u=s.return;u!==null?(ze=u,R0(u)):ze=null}break t}}Qe=0,Zr=null,cs(e,t,i,5);break;case 6:Qe=0,Zr=null,cs(e,t,i,6);break;case 8:zm(),At=6;break e;default:throw Error(ue(462))}}qF();break}catch(c){J4(e,c)}while(!0);return Oa=bl=null,De.H=n,De.A=a,Xe=r,ze!==null?0:(ut=null,Ue=0,E0(),At)}function qF(){for(;ze!==null&&!g7();)n3(ze)}function n3(e){var t=R4(e.alternate,e,ja);e.memoizedProps=e.pendingProps,t===null?R0(e):ze=t}function ix(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=Q2(r,t,t.pendingProps,t.type,void 0,Ue);break;case 11:t=Q2(r,t,t.pendingProps,t.type.render,t.ref,Ue);break;case 5:Sm(t);default:D4(r,t),t=ze=Dw(t,ja),t=R4(r,t,ja)}e.memoizedProps=e.pendingProps,t===null?R0(e):ze=t}function cs(e,t,r,n){Oa=bl=null,Sm(t),gs=null,lu=0;var a=t.return;try{if(BF(e,a,t,r,Ue)){At=1,vf(e,Fn(r,e.current)),ze=null;return}}catch(i){if(a!==null)throw ze=a,i;At=1,vf(e,Fn(r,e.current)),ze=null;return}t.flags&32768?(je||n===1?e=!0:Xs||Ue&536870912?e=!1:(si=e=!0,(n===2||n===9||n===3||n===6)&&(n=pn.current,n!==null&&n.tag===13&&(n.flags|=16384))),a3(t,e)):R0(t)}function R0(e){var t=e;do{if(t.flags&32768){a3(t,si);return}e=t.return;var r=UF(t.alternate,t,ja);if(r!==null){ze=r;return}if(t=t.sibling,t!==null){ze=t;return}ze=t=e}while(t!==null);At===0&&(At=5)}function a3(e,t){do{var r=jF(e.alternate,e);if(r!==null){r.flags&=32767,ze=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){ze=e;return}ze=e=r}while(e!==null);At=6,ze=null}function lx(e,t,r,n,a,i,l,s,o){e.cancelPendingCommit=null;do D0();while(Wt!==0);if(Xe&6)throw Error(ue(327));if(t!==null){if(t===e.current)throw Error(ue(177));if(i=t.lanes|t.childLanes,i|=um,A7(e,r,i,l,s,o),e===ut&&(ze=ut=null,Ue=0),Ms=t,xi=e,Da=r,H1=i,V1=a,Z4=n,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,QF(af,function(){return u3(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,t.subtreeFlags&13878||n){n=De.T,De.T=null,a=Ye.p,Ye.p=2,l=Xe,Xe|=4;try{IF(e,t,r)}finally{Xe=l,Ye.p=a,De.T=n}}Wt=1,i3(),l3(),s3()}}function i3(){if(Wt===1){Wt=0;var e=xi,t=Ms,r=(t.flags&13878)!==0;if(t.subtreeFlags&13878||r){r=De.T,De.T=null;var n=Ye.p;Ye.p=2;var a=Xe;Xe|=4;try{H4(t,e);var i=q1,l=Sw(e.containerInfo),s=i.focusedElem,o=i.selectionRange;if(l!==s&&s&&s.ownerDocument&&ww(s.ownerDocument.documentElement,s)){if(o!==null&&om(s)){var u=o.start,c=o.end;if(c===void 0&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var f=s.ownerDocument||document,h=f&&f.defaultView||window;if(h.getSelection){var d=h.getSelection(),p=s.textContent.length,m=Math.min(o.start,p),y=o.end===void 0?m:Math.min(o.end,p);!d.extend&&m>y&&(l=y,y=m,m=l);var v=O2(s,m),g=O2(s,y);if(v&&g&&(d.rangeCount!==1||d.anchorNode!==v.node||d.anchorOffset!==v.offset||d.focusNode!==g.node||d.focusOffset!==g.offset)){var x=f.createRange();x.setStart(v.node,v.offset),d.removeAllRanges(),m>y?(d.addRange(x),d.extend(g.node,g.offset)):(x.setEnd(g.node,g.offset),d.addRange(x))}}}}for(f=[],d=s;d=d.parentNode;)d.nodeType===1&&f.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<f.length;s++){var _=f[s];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Cf=!!Y1,q1=Y1=null}finally{Xe=a,Ye.p=n,De.T=r}}e.current=t,Wt=2}}function l3(){if(Wt===2){Wt=0;var e=xi,t=Ms,r=(t.flags&8772)!==0;if(t.subtreeFlags&8772||r){r=De.T,De.T=null;var n=Ye.p;Ye.p=2;var a=Xe;Xe|=4;try{P4(e,t.alternate,t)}finally{Xe=a,Ye.p=n,De.T=r}}Wt=3}}function s3(){if(Wt===4||Wt===3){Wt=0,x7();var e=xi,t=Ms,r=Da,n=Z4;t.subtreeFlags&10256||t.flags&10256?Wt=5:(Wt=0,Ms=xi=null,o3(e,e.pendingLanes));var a=e.pendingLanes;if(a===0&&(gi=null),tm(r),t=t.stateNode,on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(Cu,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=De.T,a=Ye.p,Ye.p=2,De.T=null;try{for(var i=e.onRecoverableError,l=0;l<n.length;l++){var s=n[l];i(s.value,{componentStack:s.stack})}}finally{De.T=t,Ye.p=a}}Da&3&&D0(),ua(e),a=e.pendingLanes,r&261930&&a&42?e===G1?Vo++:(Vo=0,G1=e):Vo=0,Pu(0)}}function o3(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ku(t)))}function D0(){return i3(),l3(),s3(),u3()}function u3(){if(Wt!==5)return!1;var e=xi,t=H1;H1=0;var r=tm(Da),n=De.T,a=Ye.p;try{Ye.p=32>r?32:r,De.T=null,r=V1,V1=null;var i=xi,l=Da;if(Wt=0,Ms=xi=null,Da=0,Xe&6)throw Error(ue(331));var s=Xe;if(Xe|=4,Y4(i.current),G4(i,i.current,l,r),Xe=s,Pu(0,!1),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(Cu,i)}catch{}return!0}finally{Ye.p=a,De.T=n,o3(e,t)}}function sx(e,t,r){t=Fn(r,t),t=P1(e.stateNode,t,2),e=vi(e,t,2),e!==null&&(Du(e,2),ua(e))}function et(e,t,r){if(e.tag===3)sx(e,e,r);else for(;t!==null;){if(t.tag===3){sx(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(gi===null||!gi.has(n))){e=Fn(r,e),r=b4(2),n=vi(t,r,2),n!==null&&(T4(r,n,t,e),Du(n,2),ua(n));break}}t=t.return}}function Uh(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new GF;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(Bm=!0,a.add(r),e=KF.bind(null,e,t,r),t.then(e,e))}function KF(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,ut===e&&(Ue&r)===r&&(At===4||At===3&&(Ue&62914560)===Ue&&300>sn()-O0?!(Xe&2)&&ks(e,0):Pm|=r,Ns===Ue&&(Ns=0)),ua(e)}function c3(e,t){t===0&&(t=tw()),e=Sl(e,t),e!==null&&(Du(e,t),ua(e))}function ZF(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),c3(e,r)}function WF(e,t){var r=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(ue(314))}n!==null&&n.delete(t),c3(e,r)}function QF(e,t){return Jp(e,t)}var wf=null,ql=null,$1=!1,Sf=!1,jh=!1,ui=0;function ua(e){e!==ql&&e.next===null&&(ql===null?wf=ql=e:ql=ql.next=e),Sf=!0,$1||($1=!0,eA())}function Pu(e,t){if(!jh&&Sf){jh=!0;do for(var r=!1,n=wf;n!==null;){if(e!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var l=n.suspendedLanes,s=n.pingedLanes;i=(1<<31-un(42|e)+1)-1,i&=a&~(l&~s),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(r=!0,ox(n,i))}else i=Ue,i=g0(n,n===ut?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),!(i&3)||Ru(n,i)||(r=!0,ox(n,i));n=n.next}while(r);jh=!1}}function JF(){f3()}function f3(){Sf=$1=!1;var e=0;ui!==0&&cA()&&(e=ui);for(var t=sn(),r=null,n=wf;n!==null;){var a=n.next,i=h3(n,t);i===0?(n.next=null,r===null?wf=a:r.next=a,a===null&&(ql=r)):(r=n,(e!==0||i&3)&&(Sf=!0)),n=a}Wt!==0&&Wt!==5||Pu(e),ui!==0&&(ui=0)}function h3(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var l=31-un(i),s=1<<l,o=a[l];o===-1?(!(s&r)||s&n)&&(a[l]=F7(s,t)):o<=t&&(e.expiredLanes|=s),i&=~s}if(t=ut,r=Ue,r=g0(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,r===0||e===t&&(Qe===2||Qe===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&ph(n),e.callbackNode=null,e.callbackPriority=0;if(!(r&3)||Ru(e,r)){if(t=r&-r,t===e.callbackPriority)return t;switch(n!==null&&ph(n),tm(r)){case 2:case 8:r=JE;break;case 32:r=af;break;case 268435456:r=ew;break;default:r=af}return n=d3.bind(null,e),r=Jp(r,n),e.callbackPriority=t,e.callbackNode=r,t}return n!==null&&n!==null&&ph(n),e.callbackPriority=2,e.callbackNode=null,2}function d3(e,t){if(Wt!==0&&Wt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(D0()&&e.callbackNode!==r)return null;var n=Ue;return n=g0(e,e===ut?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Q4(e,n,t),h3(e,sn()),e.callbackNode!=null&&e.callbackNode===r?d3.bind(null,e):null)}function ox(e,t){if(D0())return null;Q4(e,t,!0)}function eA(){hA(function(){Xe&6?Jp(QE,JF):f3()})}function Um(){if(ui===0){var e=Cs;e===0&&(e=rc,rc<<=1,!(rc&261888)&&(rc=256)),ui=e}return ui}function ux(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:zc(""+e)}function cx(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function tA(e,t,r,n,a){if(t==="submit"&&r&&r.stateNode===a){var i=ux((a[$r]||null).action),l=n.submitter;l&&(t=(t=l[$r]||null)?ux(t.formAction):l.getAttribute("formAction"),t!==null&&(i=t,l=null));var s=new x0("action","action",null,n,a);e.push({event:s,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(ui!==0){var o=l?cx(a,l):new FormData(a);L1(r,{pending:!0,data:o,method:a.method,action:i},null,o)}}else typeof i=="function"&&(s.preventDefault(),o=l?cx(a,l):new FormData(a),L1(r,{pending:!0,data:o,method:a.method,action:i},i,o))},currentTarget:a}]})}}for(var Ih=0;Ih<S1.length;Ih++){var Hh=S1[Ih],rA=Hh.toLowerCase(),nA=Hh[0].toUpperCase()+Hh.slice(1);qn(rA,"on"+nA)}qn(Tw,"onAnimationEnd");qn(Fw,"onAnimationIteration");qn(Aw,"onAnimationStart");qn("dblclick","onDoubleClick");qn("focusin","onFocus");qn("focusout","onBlur");qn(yF,"onTransitionRun");qn(_F,"onTransitionStart");qn(EF,"onTransitionCancel");qn(Ow,"onTransitionEnd");As("onMouseEnter",["mouseout","mouseover"]);As("onMouseLeave",["mouseout","mouseover"]);As("onPointerEnter",["pointerout","pointerover"]);As("onPointerLeave",["pointerout","pointerover"]);_l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));_l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));_l("onBeforeInput",["compositionend","keypress","textInput","paste"]);_l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));_l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));_l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),aA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(uu));function p3(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var l=n.length-1;0<=l;l--){var s=n[l],o=s.instance,u=s.currentTarget;if(s=s.listener,o!==i&&a.isPropagationStopped())break e;i=s,a.currentTarget=u;try{i(a)}catch(c){sf(c)}a.currentTarget=null,i=o}else for(l=0;l<n.length;l++){if(s=n[l],o=s.instance,u=s.currentTarget,s=s.listener,o!==i&&a.isPropagationStopped())break e;i=s,a.currentTarget=u;try{i(a)}catch(c){sf(c)}a.currentTarget=null,i=o}}}}function Pe(e,t){var r=t[m1];r===void 0&&(r=t[m1]=new Set);var n=e+"__bubble";r.has(n)||(m3(t,e,2,!1),r.add(n))}function Vh(e,t,r){var n=0;t&&(n|=4),m3(r,e,n,t)}var hc="_reactListening"+Math.random().toString(36).slice(2);function jm(e){if(!e[hc]){e[hc]=!0,lw.forEach(function(r){r!=="selectionchange"&&(aA.has(r)||Vh(r,!1,e),Vh(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hc]||(t[hc]=!0,Vh("selectionchange",!1,t))}}function m3(e,t,r,n){switch(O3(t)){case 2:var a=NA;break;case 8:a=MA;break;default:a=Gm}r=a.bind(null,t,r,e),a=void 0,!_1||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),n?a!==void 0?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):a!==void 0?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function Gh(e,t,r,n,a){var i=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var l=n.tag;if(l===3||l===4){var s=n.stateNode.containerInfo;if(s===a)break;if(l===4)for(l=n.return;l!==null;){var o=l.tag;if((o===3||o===4)&&l.stateNode.containerInfo===a)return;l=l.return}for(;s!==null;){if(l=ts(s),l===null)return;if(o=l.tag,o===5||o===6||o===26||o===27){n=i=l;continue e}s=s.parentNode}}n=n.return}pw(function(){var u=i,c=am(r),f=[];e:{var h=Cw.get(e);if(h!==void 0){var d=x0,p=e;switch(e){case"keypress":if(jc(r)===0)break e;case"keydown":case"keyup":d=W7;break;case"focusin":p="focus",d=yh;break;case"focusout":p="blur",d=yh;break;case"beforeblur":case"afterblur":d=yh;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=x2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=U7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=eF;break;case Tw:case Fw:case Aw:d=H7;break;case Ow:d=rF;break;case"scroll":case"scrollend":d=P7;break;case"wheel":d=aF;break;case"copy":case"cut":case"paste":d=G7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=_2;break;case"toggle":case"beforetoggle":d=lF}var m=(t&4)!==0,y=!m&&(e==="scroll"||e==="scrollend"),v=m?h!==null?h+"Capture":null:h;m=[];for(var g=u,x;g!==null;){var _=g;if(x=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||x===null||v===null||(_=tu(g,v),_!=null&&m.push(cu(g,_,x))),y)break;g=g.return}0<m.length&&(h=new d(h,p,null,r,c),f.push({event:h,listeners:m}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",h&&r!==y1&&(p=r.relatedTarget||r.fromElement)&&(ts(p)||p[Hs]))break e;if((d||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,d?(p=r.relatedTarget||r.toElement,d=u,p=p?ts(p):null,p!==null&&(y=Ou(p),m=p.tag,p!==y||m!==5&&m!==27&&m!==6)&&(p=null)):(d=null,p=u),d!==p)){if(m=x2,_="onMouseLeave",v="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=_2,_="onPointerLeave",v="onPointerEnter",g="pointer"),y=d==null?h:bo(d),x=p==null?h:bo(p),h=new m(_,g+"leave",d,r,c),h.target=y,h.relatedTarget=x,_=null,ts(c)===u&&(m=new m(v,g+"enter",p,r,c),m.target=x,m.relatedTarget=y,_=m),y=_,d&&p)t:{for(m=iA,v=d,g=p,x=0,_=v;_;_=m(_))x++;_=0;for(var w=g;w;w=m(w))_++;for(;0<x-_;)v=m(v),x--;for(;0<_-x;)g=m(g),_--;for(;x--;){if(v===g||g!==null&&v===g.alternate){m=v;break t}v=m(v),g=m(g)}m=null}else m=null;d!==null&&fx(f,h,d,m,!1),p!==null&&y!==null&&fx(f,y,p,m,!0)}}e:{if(h=u?bo(u):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var T=b2;else if(S2(h))if(_w)T=vF;else{T=pF;var E=dF}else d=h.nodeName,!d||d.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?u&&nm(u.elementType)&&(T=b2):T=mF;if(T&&(T=T(e,u))){yw(f,T,r,c);break e}E&&E(e,h,u),e==="focusout"&&u&&h.type==="number"&&u.memoizedProps.value!=null&&x1(h,"number",h.value)}switch(E=u?bo(u):window,e){case"focusin":(S2(E)||E.contentEditable==="true")&&(as=E,E1=u,ko=null);break;case"focusout":ko=E1=as=null;break;case"mousedown":w1=!0;break;case"contextmenu":case"mouseup":case"dragend":w1=!1,C2(f,r,c);break;case"selectionchange":if(xF)break;case"keydown":case"keyup":C2(f,r,c)}var O;if(sm)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else ns?gw(e,r)&&(F="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(F="onCompositionStart");F&&(vw&&r.locale!=="ko"&&(ns||F!=="onCompositionStart"?F==="onCompositionEnd"&&ns&&(O=mw()):(li=c,im="value"in li?li.value:li.textContent,ns=!0)),E=bf(u,F),0<E.length&&(F=new y2(F,e,null,r,c),f.push({event:F,listeners:E}),O?F.data=O:(O=xw(r),O!==null&&(F.data=O)))),(O=oF?uF(e,r):cF(e,r))&&(F=bf(u,"onBeforeInput"),0<F.length&&(E=new y2("onBeforeInput","beforeinput",null,r,c),f.push({event:E,listeners:F}),E.data=O)),tA(f,e,u,r,c)}p3(f,t)})}function cu(e,t,r){return{instance:e,listener:t,currentTarget:r}}function bf(e,t){for(var r=t+"Capture",n=[];e!==null;){var a=e,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=tu(e,r),a!=null&&n.unshift(cu(e,a,i)),a=tu(e,t),a!=null&&n.push(cu(e,a,i))),e.tag===3)return n;e=e.return}return[]}function iA(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function fx(e,t,r,n,a){for(var i=t._reactName,l=[];r!==null&&r!==n;){var s=r,o=s.alternate,u=s.stateNode;if(s=s.tag,o!==null&&o===n)break;s!==5&&s!==26&&s!==27||u===null||(o=u,a?(u=tu(r,i),u!=null&&l.unshift(cu(r,u,o))):a||(u=tu(r,i),u!=null&&l.push(cu(r,u,o)))),r=r.return}l.length!==0&&e.push({event:t,listeners:l})}var lA=/\r\n?/g,sA=/\u0000|\uFFFD/g;function hx(e){return(typeof e=="string"?e:""+e).replace(lA,`
`).replace(sA,"")}function v3(e,t){return t=hx(t),hx(e)===t}function it(e,t,r,n,a,i){switch(r){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||Os(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&Os(e,""+n);break;case"className":ic(e,"class",n);break;case"tabIndex":ic(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":ic(e,r,n);break;case"style":dw(e,n,i);break;case"data":if(t!=="object"){ic(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(r);break}n=zc(""+n),e.setAttribute(r,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(r==="formAction"?(t!=="input"&&it(e,t,"name",a.name,a,null),it(e,t,"formEncType",a.formEncType,a,null),it(e,t,"formMethod",a.formMethod,a,null),it(e,t,"formTarget",a.formTarget,a,null)):(it(e,t,"encType",a.encType,a,null),it(e,t,"method",a.method,a,null),it(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(r);break}n=zc(""+n),e.setAttribute(r,n);break;case"onClick":n!=null&&(e.onclick=Aa);break;case"onScroll":n!=null&&Pe("scroll",e);break;case"onScrollEnd":n!=null&&Pe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(ue(61));if(r=n.__html,r!=null){if(a.children!=null)throw Error(ue(60));e.innerHTML=r}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}r=zc(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(r,""+n):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":n===!0?e.setAttribute(r,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(r,n):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(r,n):e.removeAttribute(r);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(r):e.setAttribute(r,n);break;case"popover":Pe("beforetoggle",e),Pe("toggle",e),Pc(e,"popover",n);break;case"xlinkActuate":da(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":da(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":da(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":da(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":da(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":da(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":da(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":da(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":da(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Pc(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=L7.get(r)||r,Pc(e,r,n))}}function X1(e,t,r,n,a,i){switch(r){case"style":dw(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(ue(61));if(r=n.__html,r!=null){if(a.children!=null)throw Error(ue(60));e.innerHTML=r}}break;case"children":typeof n=="string"?Os(e,n):(typeof n=="number"||typeof n=="bigint")&&Os(e,""+n);break;case"onScroll":n!=null&&Pe("scroll",e);break;case"onScrollEnd":n!=null&&Pe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=Aa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!sw.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(a=r.endsWith("Capture"),t=r.slice(2,a?r.length-7:void 0),i=e[$r]||null,i=i!=null?i[r]:null,typeof i=="function"&&e.removeEventListener(t,i,a),typeof n=="function")){typeof i!="function"&&i!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,n,a);break e}r in e?e[r]=n:n===!0?e.setAttribute(r,""):Pc(e,r,n)}}}function _r(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pe("error",e),Pe("load",e);var n=!1,a=!1,i;for(i in r)if(r.hasOwnProperty(i)){var l=r[i];if(l!=null)switch(i){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(ue(137,t));default:it(e,t,i,l,r,null)}}a&&it(e,t,"srcSet",r.srcSet,r,null),n&&it(e,t,"src",r.src,r,null);return;case"input":Pe("invalid",e);var s=i=l=a=null,o=null,u=null;for(n in r)if(r.hasOwnProperty(n)){var c=r[n];if(c!=null)switch(n){case"name":a=c;break;case"type":l=c;break;case"checked":o=c;break;case"defaultChecked":u=c;break;case"value":i=c;break;case"defaultValue":s=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(ue(137,t));break;default:it(e,t,n,c,r,null)}}cw(e,i,s,o,u,l,a,!1);return;case"select":Pe("invalid",e),n=l=i=null;for(a in r)if(r.hasOwnProperty(a)&&(s=r[a],s!=null))switch(a){case"value":i=s;break;case"defaultValue":l=s;break;case"multiple":n=s;default:it(e,t,a,s,r,null)}t=i,r=l,e.multiple=!!n,t!=null?ps(e,!!n,t,!1):r!=null&&ps(e,!!n,r,!0);return;case"textarea":Pe("invalid",e),i=a=n=null;for(l in r)if(r.hasOwnProperty(l)&&(s=r[l],s!=null))switch(l){case"value":n=s;break;case"defaultValue":a=s;break;case"children":i=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(ue(91));break;default:it(e,t,l,s,r,null)}hw(e,n,a,i);return;case"option":for(o in r)if(r.hasOwnProperty(o)&&(n=r[o],n!=null))switch(o){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:it(e,t,o,n,r,null)}return;case"dialog":Pe("beforetoggle",e),Pe("toggle",e),Pe("cancel",e),Pe("close",e);break;case"iframe":case"object":Pe("load",e);break;case"video":case"audio":for(n=0;n<uu.length;n++)Pe(uu[n],e);break;case"image":Pe("error",e),Pe("load",e);break;case"details":Pe("toggle",e);break;case"embed":case"source":case"link":Pe("error",e),Pe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in r)if(r.hasOwnProperty(u)&&(n=r[u],n!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(ue(137,t));default:it(e,t,u,n,r,null)}return;default:if(nm(t)){for(c in r)r.hasOwnProperty(c)&&(n=r[c],n!==void 0&&X1(e,t,c,n,r,void 0));return}}for(s in r)r.hasOwnProperty(s)&&(n=r[s],n!=null&&it(e,t,s,n,r,null))}function oA(e,t,r,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,l=null,s=null,o=null,u=null,c=null;for(d in r){var f=r[d];if(r.hasOwnProperty(d)&&f!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":o=f;default:n.hasOwnProperty(d)||it(e,t,d,null,n,f)}}for(var h in n){var d=n[h];if(f=r[h],n.hasOwnProperty(h)&&(d!=null||f!=null))switch(h){case"type":i=d;break;case"name":a=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":l=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(ue(137,t));break;default:d!==f&&it(e,t,h,d,n,f)}}g1(e,l,s,o,u,c,i,a);return;case"select":d=l=s=h=null;for(i in r)if(o=r[i],r.hasOwnProperty(i)&&o!=null)switch(i){case"value":break;case"multiple":d=o;default:n.hasOwnProperty(i)||it(e,t,i,null,n,o)}for(a in n)if(i=n[a],o=r[a],n.hasOwnProperty(a)&&(i!=null||o!=null))switch(a){case"value":h=i;break;case"defaultValue":s=i;break;case"multiple":l=i;default:i!==o&&it(e,t,a,i,n,o)}t=s,r=l,n=d,h!=null?ps(e,!!r,h,!1):!!n!=!!r&&(t!=null?ps(e,!!r,t,!0):ps(e,!!r,r?[]:"",!1));return;case"textarea":d=h=null;for(s in r)if(a=r[s],r.hasOwnProperty(s)&&a!=null&&!n.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:it(e,t,s,null,n,a)}for(l in n)if(a=n[l],i=r[l],n.hasOwnProperty(l)&&(a!=null||i!=null))switch(l){case"value":h=a;break;case"defaultValue":d=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(ue(91));break;default:a!==i&&it(e,t,l,a,n,i)}fw(e,h,d);return;case"option":for(var p in r)if(h=r[p],r.hasOwnProperty(p)&&h!=null&&!n.hasOwnProperty(p))switch(p){case"selected":e.selected=!1;break;default:it(e,t,p,null,n,h)}for(o in n)if(h=n[o],d=r[o],n.hasOwnProperty(o)&&h!==d&&(h!=null||d!=null))switch(o){case"selected":e.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:it(e,t,o,h,n,d)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in r)h=r[m],r.hasOwnProperty(m)&&h!=null&&!n.hasOwnProperty(m)&&it(e,t,m,null,n,h);for(u in n)if(h=n[u],d=r[u],n.hasOwnProperty(u)&&h!==d&&(h!=null||d!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(ue(137,t));break;default:it(e,t,u,h,n,d)}return;default:if(nm(t)){for(var y in r)h=r[y],r.hasOwnProperty(y)&&h!==void 0&&!n.hasOwnProperty(y)&&X1(e,t,y,void 0,n,h);for(c in n)h=n[c],d=r[c],!n.hasOwnProperty(c)||h===d||h===void 0&&d===void 0||X1(e,t,c,h,n,d);return}}for(var v in r)h=r[v],r.hasOwnProperty(v)&&h!=null&&!n.hasOwnProperty(v)&&it(e,t,v,null,n,h);for(f in n)h=n[f],d=r[f],!n.hasOwnProperty(f)||h===d||h==null&&d==null||it(e,t,f,h,n,d)}function dx(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function uA(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),n=0;n<r.length;n++){var a=r[n],i=a.transferSize,l=a.initiatorType,s=a.duration;if(i&&s&&dx(l)){for(l=0,s=a.responseEnd,n+=1;n<r.length;n++){var o=r[n],u=o.startTime;if(u>s)break;var c=o.transferSize,f=o.initiatorType;c&&dx(f)&&(o=o.responseEnd,l+=c*(o<s?1:(s-u)/(o-u)))}if(--n,t+=8*(i+l)/(a.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Y1=null,q1=null;function Tf(e){return e.nodeType===9?e:e.ownerDocument}function px(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function g3(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function K1(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $h=null;function cA(){var e=window.event;return e&&e.type==="popstate"?e===$h?!1:($h=e,!0):($h=null,!1)}var x3=typeof setTimeout=="function"?setTimeout:void 0,fA=typeof clearTimeout=="function"?clearTimeout:void 0,mx=typeof Promise=="function"?Promise:void 0,hA=typeof queueMicrotask=="function"?queueMicrotask:typeof mx<"u"?function(e){return mx.resolve(null).then(e).catch(dA)}:x3;function dA(e){setTimeout(function(){throw e})}function Li(e){return e==="head"}function vx(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/$"||r==="/&"){if(n===0){e.removeChild(a),Bs(t);return}n--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")n++;else if(r==="html")Go(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Go(r);for(var i=r.firstChild;i;){var l=i.nextSibling,s=i.nodeName;i[Nu]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&i.rel.toLowerCase()==="stylesheet"||r.removeChild(i),i=l}}else r==="body"&&Go(e.ownerDocument.body);r=a}while(r);Bs(t)}function gx(e,t){var r=e;e=0;do{var n=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),n&&n.nodeType===8)if(r=n.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=n}while(r)}function Z1(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Z1(r),rm(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function pA(e,t,r,n){for(;e.nodeType===1;){var a=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[Nu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==a.rel||e.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||e.getAttribute("title")!==(a.title==null?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(a.src==null?null:a.src)||e.getAttribute("type")!==(a.type==null?null:a.type)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Cn(e.nextSibling),e===null)break}return null}function mA(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=Cn(e.nextSibling),e===null))return null;return e}function y3(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Cn(e.nextSibling),e===null))return null;return e}function W1(e){return e.data==="$?"||e.data==="$~"}function Q1(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function vA(e,t){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||r.readyState!=="loading")t();else{var n=function(){t(),r.removeEventListener("DOMContentLoaded",n)};r.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Cn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var J1=null;function xx(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(t===0)return Cn(e.nextSibling);t--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||t++}e=e.nextSibling}return null}function yx(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(t===0)return e;t--}else r!=="/$"&&r!=="/&"||t++}e=e.previousSibling}return null}function _3(e,t,r){switch(t=Tf(r),e){case"html":if(e=t.documentElement,!e)throw Error(ue(452));return e;case"head":if(e=t.head,!e)throw Error(ue(453));return e;case"body":if(e=t.body,!e)throw Error(ue(454));return e;default:throw Error(ue(451))}}function Go(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);rm(e)}var Rn=new Map,_x=new Set;function Ff(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var $a=Ye.d;Ye.d={f:gA,r:xA,D:yA,C:_A,L:EA,m:wA,X:bA,S:SA,M:TA};function gA(){var e=$a.f(),t=C0();return e||t}function xA(e){var t=Vs(e);t!==null&&t.tag===5&&t.type==="form"?d4(t):$a.r(e)}var Ys=typeof document>"u"?null:document;function E3(e,t,r){var n=Ys;if(n&&typeof t=="string"&&t){var a=Tn(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof r=="string"&&(a+='[crossorigin="'+r+'"]'),_x.has(a)||(_x.add(a),e={rel:e,crossOrigin:r,href:t},n.querySelector(a)===null&&(t=n.createElement("link"),_r(t,"link",e),nr(t),n.head.appendChild(t)))}}function yA(e){$a.D(e),E3("dns-prefetch",e,null)}function _A(e,t){$a.C(e,t),E3("preconnect",e,t)}function EA(e,t,r){$a.L(e,t,r);var n=Ys;if(n&&e&&t){var a='link[rel="preload"][as="'+Tn(t)+'"]';t==="image"&&r&&r.imageSrcSet?(a+='[imagesrcset="'+Tn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(a+='[imagesizes="'+Tn(r.imageSizes)+'"]')):a+='[href="'+Tn(e)+'"]';var i=a;switch(t){case"style":i=Ls(e);break;case"script":i=qs(e)}Rn.has(i)||(e=vt({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),Rn.set(i,e),n.querySelector(a)!==null||t==="style"&&n.querySelector(zu(i))||t==="script"&&n.querySelector(Uu(i))||(t=n.createElement("link"),_r(t,"link",e),nr(t),n.head.appendChild(t)))}}function wA(e,t){$a.m(e,t);var r=Ys;if(r&&e){var n=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+Tn(n)+'"][href="'+Tn(e)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=qs(e)}if(!Rn.has(i)&&(e=vt({rel:"modulepreload",href:e},t),Rn.set(i,e),r.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Uu(i)))return}n=r.createElement("link"),_r(n,"link",e),nr(n),r.head.appendChild(n)}}}function SA(e,t,r){$a.S(e,t,r);var n=Ys;if(n&&e){var a=ds(n).hoistableStyles,i=Ls(e);t=t||"default";var l=a.get(i);if(!l){var s={loading:0,preload:null};if(l=n.querySelector(zu(i)))s.loading=5;else{e=vt({rel:"stylesheet",href:e,"data-precedence":t},r),(r=Rn.get(i))&&Im(e,r);var o=l=n.createElement("link");nr(o),_r(o,"link",e),o._p=new Promise(function(u,c){o.onload=u,o.onerror=c}),o.addEventListener("load",function(){s.loading|=1}),o.addEventListener("error",function(){s.loading|=2}),s.loading|=4,qc(l,t,n)}l={type:"stylesheet",instance:l,count:1,state:s},a.set(i,l)}}}function bA(e,t){$a.X(e,t);var r=Ys;if(r&&e){var n=ds(r).hoistableScripts,a=qs(e),i=n.get(a);i||(i=r.querySelector(Uu(a)),i||(e=vt({src:e,async:!0},t),(t=Rn.get(a))&&Hm(e,t),i=r.createElement("script"),nr(i),_r(i,"link",e),r.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function TA(e,t){$a.M(e,t);var r=Ys;if(r&&e){var n=ds(r).hoistableScripts,a=qs(e),i=n.get(a);i||(i=r.querySelector(Uu(a)),i||(e=vt({src:e,async:!0,type:"module"},t),(t=Rn.get(a))&&Hm(e,t),i=r.createElement("script"),nr(i),_r(i,"link",e),r.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Ex(e,t,r,n){var a=(a=di.current)?Ff(a):null;if(!a)throw Error(ue(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=Ls(r.href),r=ds(a).hoistableStyles,n=r.get(t),n||(n={type:"style",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Ls(r.href);var i=ds(a).hoistableStyles,l=i.get(e);if(l||(a=a.ownerDocument||a,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,l),(i=a.querySelector(zu(e)))&&!i._p&&(l.instance=i,l.state.loading=5),Rn.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Rn.set(e,r),i||FA(a,e,r,l.state))),t&&n===null)throw Error(ue(528,""));return l}if(t&&n!==null)throw Error(ue(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=qs(r),r=ds(a).hoistableScripts,n=r.get(t),n||(n={type:"script",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(ue(444,e))}}function Ls(e){return'href="'+Tn(e)+'"'}function zu(e){return'link[rel="stylesheet"]['+e+"]"}function w3(e){return vt({},e,{"data-precedence":e.precedence,precedence:null})}function FA(e,t,r,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),_r(t,"link",r),nr(t),e.head.appendChild(t))}function qs(e){return'[src="'+Tn(e)+'"]'}function Uu(e){return"script[async]"+e}function wx(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Tn(r.href)+'"]');if(n)return t.instance=n,nr(n),n;var a=vt({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),nr(n),_r(n,"style",a),qc(n,r.precedence,e),t.instance=n;case"stylesheet":a=Ls(r.href);var i=e.querySelector(zu(a));if(i)return t.state.loading|=4,t.instance=i,nr(i),i;n=w3(r),(a=Rn.get(a))&&Im(n,a),i=(e.ownerDocument||e).createElement("link"),nr(i);var l=i;return l._p=new Promise(function(s,o){l.onload=s,l.onerror=o}),_r(i,"link",n),t.state.loading|=4,qc(i,r.precedence,e),t.instance=i;case"script":return i=qs(r.src),(a=e.querySelector(Uu(i)))?(t.instance=a,nr(a),a):(n=r,(a=Rn.get(i))&&(n=vt({},r),Hm(n,a)),e=e.ownerDocument||e,a=e.createElement("script"),nr(a),_r(a,"link",n),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(ue(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(n=t.instance,t.state.loading|=4,qc(n,r.precedence,e));return t.instance}function qc(e,t,r){for(var n=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,l=0;l<n.length;l++){var s=n[l];if(s.dataset.precedence===t)i=s;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Im(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Hm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Kc=null;function Sx(e,t,r){if(Kc===null){var n=new Map,a=Kc=new Map;a.set(r,n)}else a=Kc,n=a.get(r),n||(n=new Map,a.set(r,n));if(n.has(e))return n;for(n.set(e,null),r=r.getElementsByTagName(e),a=0;a<r.length;a++){var i=r[a];if(!(i[Nu]||i[mr]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var l=i.getAttribute(t)||"";l=e+l;var s=n.get(l);s?s.push(i):n.set(l,[i])}}return n}function bx(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function AA(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function S3(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function OA(e,t,r,n){if(r.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(r.state.loading&4)){if(r.instance===null){var a=Ls(n.href),i=t.querySelector(zu(a));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Af.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=i,nr(i);return}i=t.ownerDocument||t,n=w3(n),(a=Rn.get(a))&&Im(n,a),i=i.createElement("link"),nr(i);var l=i;l._p=new Promise(function(s,o){l.onload=s,l.onerror=o}),_r(i,"link",n),r.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&!(r.state.loading&3)&&(e.count++,r=Af.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var Xh=0;function CA(e,t){return e.stylesheets&&e.count===0&&Zc(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var n=setTimeout(function(){if(e.stylesheets&&Zc(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Xh===0&&(Xh=62500*uA());var a=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zc(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Xh?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function Af(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Of=null;function Zc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Of=new Map,t.forEach(RA,e),Of=null,Af.call(e))}function RA(e,t){if(!(t.state.loading&4)){var r=Of.get(e);if(r)var n=r.get(null);else{r=new Map,Of.set(e,r);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var l=a[i];(l.nodeName==="LINK"||l.getAttribute("media")!=="not all")&&(r.set(l.dataset.precedence,l),n=l)}n&&r.set(null,n)}a=t.instance,l=a.getAttribute("data-precedence"),i=r.get(l)||n,i===n&&r.set(null,a),r.set(l,a),this.count++,n=Af.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),i?i.parentNode.insertBefore(a,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(a,e.firstChild)),t.state.loading|=4}}var fu={$$typeof:Fa,Provider:null,Consumer:null,_currentValue:Qi,_currentValue2:Qi,_threadCount:0};function DA(e,t,r,n,a,i,l,s,o){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=mh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mh(0),this.hiddenUpdates=mh(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function b3(e,t,r,n,a,i,l,s,o,u,c,f){return e=new DA(e,t,r,l,o,u,c,f,s),t=1,i===!0&&(t|=24),i=rn(3,null,null,t),e.current=i,i.stateNode=e,t=pm(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:r,cache:t},gm(i),e}function T3(e){return e?(e=ss,e):ss}function F3(e,t,r,n,a,i){a=T3(a),n.context===null?n.context=a:n.pendingContext=a,n=mi(t),n.payload={element:r},i=i===void 0?null:i,i!==null&&(n.callback=i),r=vi(e,n,t),r!==null&&(Vr(r,e,t),Bo(r,e,t))}function Tx(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Vm(e,t){Tx(e,t),(e=e.alternate)&&Tx(e,t)}function A3(e){if(e.tag===13||e.tag===31){var t=Sl(e,67108864);t!==null&&Vr(t,e,67108864),Vm(e,67108864)}}function Fx(e){if(e.tag===13||e.tag===31){var t=cn();t=em(t);var r=Sl(e,t);r!==null&&Vr(r,e,t),Vm(e,t)}}var Cf=!0;function NA(e,t,r,n){var a=De.T;De.T=null;var i=Ye.p;try{Ye.p=2,Gm(e,t,r,n)}finally{Ye.p=i,De.T=a}}function MA(e,t,r,n){var a=De.T;De.T=null;var i=Ye.p;try{Ye.p=8,Gm(e,t,r,n)}finally{Ye.p=i,De.T=a}}function Gm(e,t,r,n){if(Cf){var a=ep(n);if(a===null)Gh(e,t,n,Rf,r),Ax(e,n);else if(LA(a,e,t,r,n))n.stopPropagation();else if(Ax(e,n),t&4&&-1<kA.indexOf(e)){for(;a!==null;){var i=Vs(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var l=Xi(i.pendingLanes);if(l!==0){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;l;){var o=1<<31-un(l);s.entanglements[1]|=o,l&=~o}ua(i),!(Xe&6)&&(yf=sn()+500,Pu(0))}}break;case 31:case 13:s=Sl(i,2),s!==null&&Vr(s,i,2),C0(),Vm(i,2)}if(i=ep(n),i===null&&Gh(e,t,n,Rf,r),i===a)break;a=i}a!==null&&n.stopPropagation()}else Gh(e,t,n,null,r)}}function ep(e){return e=am(e),$m(e)}var Rf=null;function $m(e){if(Rf=null,e=ts(e),e!==null){var t=Ou(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=YE(t),e!==null)return e;e=null}else if(r===31){if(e=qE(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Rf=e,null}function O3(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(y7()){case QE:return 2;case JE:return 8;case af:case _7:return 32;case ew:return 268435456;default:return 32}default:return 32}}var tp=!1,yi=null,_i=null,Ei=null,hu=new Map,du=new Map,ni=[],kA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ax(e,t){switch(e){case"focusin":case"focusout":yi=null;break;case"dragenter":case"dragleave":_i=null;break;case"mouseover":case"mouseout":Ei=null;break;case"pointerover":case"pointerout":hu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":du.delete(t.pointerId)}}function vo(e,t,r,n,a,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},t!==null&&(t=Vs(t),t!==null&&A3(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function LA(e,t,r,n,a){switch(t){case"focusin":return yi=vo(yi,e,t,r,n,a),!0;case"dragenter":return _i=vo(_i,e,t,r,n,a),!0;case"mouseover":return Ei=vo(Ei,e,t,r,n,a),!0;case"pointerover":var i=a.pointerId;return hu.set(i,vo(hu.get(i)||null,e,t,r,n,a)),!0;case"gotpointercapture":return i=a.pointerId,du.set(i,vo(du.get(i)||null,e,t,r,n,a)),!0}return!1}function C3(e){var t=ts(e.target);if(t!==null){var r=Ou(t);if(r!==null){if(t=r.tag,t===13){if(t=YE(r),t!==null){e.blockedOn=t,f2(e.priority,function(){Fx(r)});return}}else if(t===31){if(t=qE(r),t!==null){e.blockedOn=t,f2(e.priority,function(){Fx(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ep(e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);y1=n,r.target.dispatchEvent(n),y1=null}else return t=Vs(r),t!==null&&A3(t),e.blockedOn=r,!1;t.shift()}return!0}function Ox(e,t,r){Wc(e)&&r.delete(t)}function BA(){tp=!1,yi!==null&&Wc(yi)&&(yi=null),_i!==null&&Wc(_i)&&(_i=null),Ei!==null&&Wc(Ei)&&(Ei=null),hu.forEach(Ox),du.forEach(Ox)}function dc(e,t){e.blockedOn===t&&(e.blockedOn=null,tp||(tp=!0,Qt.unstable_scheduleCallback(Qt.unstable_NormalPriority,BA)))}var pc=null;function Cx(e){pc!==e&&(pc=e,Qt.unstable_scheduleCallback(Qt.unstable_NormalPriority,function(){pc===e&&(pc=null);for(var t=0;t<e.length;t+=3){var r=e[t],n=e[t+1],a=e[t+2];if(typeof n!="function"){if($m(n||r)===null)continue;break}var i=Vs(r);i!==null&&(e.splice(t,3),t-=3,L1(i,{pending:!0,data:a,method:r.method,action:n},n,a))}}))}function Bs(e){function t(o){return dc(o,e)}yi!==null&&dc(yi,e),_i!==null&&dc(_i,e),Ei!==null&&dc(Ei,e),hu.forEach(t),du.forEach(t);for(var r=0;r<ni.length;r++){var n=ni[r];n.blockedOn===e&&(n.blockedOn=null)}for(;0<ni.length&&(r=ni[0],r.blockedOn===null);)C3(r),r.blockedOn===null&&ni.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(n=0;n<r.length;n+=3){var a=r[n],i=r[n+1],l=a[$r]||null;if(typeof i=="function")l||Cx(r);else if(l){var s=null;if(i&&i.hasAttribute("formAction")){if(a=i,l=i[$r]||null)s=l.formAction;else if($m(a)!==null)continue}else s=l.action;typeof s=="function"?r[n+1]=s:(r.splice(n,3),n-=3),Cx(r)}}}function R3(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(l){return a=l})},focusReset:"manual",scroll:"manual"})}function t(){a!==null&&(a(),a=null),n||setTimeout(r,20)}function r(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),a!==null&&(a(),a=null)}}}function Xm(e){this._internalRoot=e}N0.prototype.render=Xm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ue(409));var r=t.current,n=cn();F3(r,n,e,t,null,null)};N0.prototype.unmount=Xm.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;F3(e.current,2,null,e,null,null),C0(),t[Hs]=null}};function N0(e){this._internalRoot=e}N0.prototype.unstable_scheduleHydration=function(e){if(e){var t=iw();e={blockedOn:null,target:e,priority:t};for(var r=0;r<ni.length&&t!==0&&t<ni[r].priority;r++);ni.splice(r,0,e),r===0&&C3(e)}};var Rx=$E.version;if(Rx!=="19.2.1")throw Error(ue(527,Rx,"19.2.1"));Ye.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ue(188)):(e=Object.keys(e).join(","),Error(ue(268,e)));return e=h7(t),e=e!==null?KE(e):null,e=e===null?null:e.stateNode,e};var PA={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:De,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mc.isDisabled&&mc.supportsFiber)try{Cu=mc.inject(PA),on=mc}catch{}}v0.createRoot=function(e,t){if(!XE(e))throw Error(ue(299));var r=!1,n="",a=E4,i=w4,l=S4;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(a=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=b3(e,1,!1,null,null,r,n,null,a,i,l,R3),e[Hs]=t.current,jm(e),new Xm(t)};v0.hydrateRoot=function(e,t,r){if(!XE(e))throw Error(ue(299));var n=!1,a="",i=E4,l=w4,s=S4,o=null;return r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onUncaughtError!==void 0&&(i=r.onUncaughtError),r.onCaughtError!==void 0&&(l=r.onCaughtError),r.onRecoverableError!==void 0&&(s=r.onRecoverableError),r.formState!==void 0&&(o=r.formState)),t=b3(e,1,!0,t,r??null,n,a,o,i,l,s,R3),t.context=T3(null),r=t.current,n=cn(),n=em(n),a=mi(n),a.callback=null,vi(r,a,n),r=n,t.current.lanes=r,Du(t,r),ua(t),e[Hs]=t.current,jm(e),new N0(t)};v0.version="19.2.1";function D3(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(D3)}catch(e){console.error(e)}}D3(),HE.exports=v0;var zA=HE.exports;const kH=js(zA);let UA={data:""},jA=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||UA,IA=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,HA=/\/\*[^]*?\*\/|  +/g,Dx=/\n+/g,ai=(e,t)=>{let r="",n="",a="";for(let i in e){let l=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+l+";":n+=i[1]=="f"?ai(l,i):i+"{"+ai(l,i[1]=="k"?"":t)+"}":typeof l=="object"?n+=ai(l,t?t.replace(/([^,])+/g,s=>i.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,o=>/&/.test(o)?o.replace(/&/g,s):s?s+" "+o:o)):i):l!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=ai.p?ai.p(i,l):i+":"+l+";")}return r+(t&&a?t+"{"+a+"}":a)+n},ga={},N3=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+N3(e[r]);return t}return e},VA=(e,t,r,n,a)=>{let i=N3(e),l=ga[i]||(ga[i]=(o=>{let u=0,c=11;for(;u<o.length;)c=101*c+o.charCodeAt(u++)>>>0;return"go"+c})(i));if(!ga[l]){let o=i!==e?e:(u=>{let c,f,h=[{}];for(;c=IA.exec(u.replace(HA,""));)c[4]?h.shift():c[3]?(f=c[3].replace(Dx," ").trim(),h.unshift(h[0][f]=h[0][f]||{})):h[0][c[1]]=c[2].replace(Dx," ").trim();return h[0]})(e);ga[l]=ai(a?{["@keyframes "+l]:o}:o,r?"":"."+l)}let s=r&&ga.g?ga.g:null;return r&&(ga.g=ga[l]),((o,u,c,f)=>{f?u.data=u.data.replace(f,o):u.data.indexOf(o)===-1&&(u.data=c?o+u.data:u.data+o)})(ga[l],t,n,s),l},GA=(e,t,r)=>e.reduce((n,a,i)=>{let l=t[i];if(l&&l.call){let s=l(r),o=s&&s.props&&s.props.className||/^go/.test(s)&&s;l=o?"."+o:s&&typeof s=="object"?s.props?"":ai(s,""):s===!1?"":s}return n+a+(l??"")},"");function M0(e){let t=this||{},r=e.call?e(t.p):e;return VA(r.unshift?r.raw?GA(r,[].slice.call(arguments,1),t.p):r.reduce((n,a)=>Object.assign(n,a&&a.call?a(t.p):a),{}):r,jA(t.target),t.g,t.o,t.k)}let M3,rp,np;M0.bind({g:1});let Ia=M0.bind({k:1});function $A(e,t,r,n){ai.p=t,M3=e,rp=r,np=n}function Bi(e,t){let r=this||{};return function(){let n=arguments;function a(i,l){let s=Object.assign({},i),o=s.className||a.className;r.p=Object.assign({theme:rp&&rp()},s),r.o=/ *go\d+/.test(o),s.className=M0.apply(r,n)+(o?" "+o:"");let u=e;return e[0]&&(u=s.as||e,delete s.as),np&&u[0]&&np(s),M3(u,s)}return a}}var XA=e=>typeof e=="function",Df=(e,t)=>XA(e)?e(t):e,YA=(()=>{let e=0;return()=>(++e).toString()})(),k3=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),qA=20,Ym="default",L3=(e,t)=>{let{toastLimit:r}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,r)};case 1:return{...e,toasts:e.toasts.map(l=>l.id===t.toast.id?{...l,...t.toast}:l)};case 2:let{toast:n}=t;return L3(e,{type:e.toasts.find(l=>l.id===n.id)?1:0,toast:n});case 3:let{toastId:a}=t;return{...e,toasts:e.toasts.map(l=>l.id===a||a===void 0?{...l,dismissed:!0,visible:!1}:l)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(l=>l.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(l=>({...l,pauseDuration:l.pauseDuration+i}))}}},Qc=[],B3={toasts:[],pausedAt:void 0,settings:{toastLimit:qA}},na={},P3=(e,t=Ym)=>{na[t]=L3(na[t]||B3,e),Qc.forEach(([r,n])=>{r===t&&n(na[t])})},z3=e=>Object.keys(na).forEach(t=>P3(e,t)),KA=e=>Object.keys(na).find(t=>na[t].toasts.some(r=>r.id===e)),k0=(e=Ym)=>t=>{P3(t,e)},ZA={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},WA=(e={},t=Ym)=>{let[r,n]=b.useState(na[t]||B3),a=b.useRef(na[t]);b.useEffect(()=>(a.current!==na[t]&&n(na[t]),Qc.push([t,n]),()=>{let l=Qc.findIndex(([s])=>s===t);l>-1&&Qc.splice(l,1)}),[t]);let i=r.toasts.map(l=>{var s,o,u;return{...e,...e[l.type],...l,removeDelay:l.removeDelay||((s=e[l.type])==null?void 0:s.removeDelay)||e?.removeDelay,duration:l.duration||((o=e[l.type])==null?void 0:o.duration)||e?.duration||ZA[l.type],style:{...e.style,...(u=e[l.type])==null?void 0:u.style,...l.style}}});return{...r,toasts:i}},QA=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:r?.id||YA()}),ju=e=>(t,r)=>{let n=QA(t,e,r);return k0(n.toasterId||KA(n.id))({type:2,toast:n}),n.id},Zt=(e,t)=>ju("blank")(e,t);Zt.error=ju("error");Zt.success=ju("success");Zt.loading=ju("loading");Zt.custom=ju("custom");Zt.dismiss=(e,t)=>{let r={type:3,toastId:e};t?k0(t)(r):z3(r)};Zt.dismissAll=e=>Zt.dismiss(void 0,e);Zt.remove=(e,t)=>{let r={type:4,toastId:e};t?k0(t)(r):z3(r)};Zt.removeAll=e=>Zt.remove(void 0,e);Zt.promise=(e,t,r)=>{let n=Zt.loading(t.loading,{...r,...r?.loading});return typeof e=="function"&&(e=e()),e.then(a=>{let i=t.success?Df(t.success,a):void 0;return i?Zt.success(i,{id:n,...r,...r?.success}):Zt.dismiss(n),a}).catch(a=>{let i=t.error?Df(t.error,a):void 0;i?Zt.error(i,{id:n,...r,...r?.error}):Zt.dismiss(n)}),e};var JA=1e3,e8=(e,t="default")=>{let{toasts:r,pausedAt:n}=WA(e,t),a=b.useRef(new Map).current,i=b.useCallback((f,h=JA)=>{if(a.has(f))return;let d=setTimeout(()=>{a.delete(f),l({type:4,toastId:f})},h);a.set(f,d)},[]);b.useEffect(()=>{if(n)return;let f=Date.now(),h=r.map(d=>{if(d.duration===1/0)return;let p=(d.duration||0)+d.pauseDuration-(f-d.createdAt);if(p<0){d.visible&&Zt.dismiss(d.id);return}return setTimeout(()=>Zt.dismiss(d.id,t),p)});return()=>{h.forEach(d=>d&&clearTimeout(d))}},[r,n,t]);let l=b.useCallback(k0(t),[t]),s=b.useCallback(()=>{l({type:5,time:Date.now()})},[l]),o=b.useCallback((f,h)=>{l({type:1,toast:{id:f,height:h}})},[l]),u=b.useCallback(()=>{n&&l({type:6,time:Date.now()})},[n,l]),c=b.useCallback((f,h)=>{let{reverseOrder:d=!1,gutter:p=8,defaultPosition:m}=h||{},y=r.filter(x=>(x.position||m)===(f.position||m)&&x.height),v=y.findIndex(x=>x.id===f.id),g=y.filter((x,_)=>_<v&&x.visible).length;return y.filter(x=>x.visible).slice(...d?[g+1]:[0,g]).reduce((x,_)=>x+(_.height||0)+p,0)},[r]);return b.useEffect(()=>{r.forEach(f=>{if(f.dismissed)i(f.id,f.removeDelay);else{let h=a.get(f.id);h&&(clearTimeout(h),a.delete(f.id))}})},[r,i]),{toasts:r,handlers:{updateHeight:o,startPause:s,endPause:u,calculateOffset:c}}},t8=Ia`
from {
  transform: scale(0) rotate(45deg);
	opacity: 0;
}
to {
 transform: scale(1) rotate(45deg);
  opacity: 1;
}`,r8=Ia`
from {
  transform: scale(0);
  opacity: 0;
}
to {
  transform: scale(1);
  opacity: 1;
}`,n8=Ia`
from {
  transform: scale(0) rotate(90deg);
	opacity: 0;
}
to {
  transform: scale(1) rotate(90deg);
	opacity: 1;
}`,a8=Bi("div")`
  width: 20px;
  opacity: 0;
  height: 20px;
  border-radius: 10px;
  background: ${e=>e.primary||"#ff4b4b"};
  position: relative;
  transform: rotate(45deg);

  animation: ${t8} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
  animation-delay: 100ms;

  &:after,
  &:before {
    content: '';
    animation: ${r8} 0.15s ease-out forwards;
    animation-delay: 150ms;
    position: absolute;
    border-radius: 3px;
    opacity: 0;
    background: ${e=>e.secondary||"#fff"};
    bottom: 9px;
    left: 4px;
    height: 2px;
    width: 12px;
  }

  &:before {
    animation: ${n8} 0.15s ease-out forwards;
    animation-delay: 180ms;
    transform: rotate(90deg);
  }
`,i8=Ia`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
`,l8=Bi("div")`
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: ${e=>e.secondary||"#e0e0e0"};
  border-right-color: ${e=>e.primary||"#616161"};
  animation: ${i8} 1s linear infinite;
`,s8=Ia`
from {
  transform: scale(0) rotate(45deg);
	opacity: 0;
}
to {
  transform: scale(1) rotate(45deg);
	opacity: 1;
}`,o8=Ia`
0% {
	height: 0;
	width: 0;
	opacity: 0;
}
40% {
  height: 0;
	width: 6px;
	opacity: 1;
}
100% {
  opacity: 1;
  height: 10px;
}`,u8=Bi("div")`
  width: 20px;
  opacity: 0;
  height: 20px;
  border-radius: 10px;
  background: ${e=>e.primary||"#61d345"};
  position: relative;
  transform: rotate(45deg);

  animation: ${s8} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
  animation-delay: 100ms;
  &:after {
    content: '';
    box-sizing: border-box;
    animation: ${o8} 0.2s ease-out forwards;
    opacity: 0;
    animation-delay: 200ms;
    position: absolute;
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-color: ${e=>e.secondary||"#fff"};
    bottom: 6px;
    left: 6px;
    height: 10px;
    width: 6px;
  }
`,c8=Bi("div")`
  position: absolute;
`,f8=Bi("div")`
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  min-height: 20px;
`,h8=Ia`
from {
  transform: scale(0.6);
  opacity: 0.4;
}
to {
  transform: scale(1);
  opacity: 1;
}`,d8=Bi("div")`
  position: relative;
  transform: scale(0.6);
  opacity: 0.4;
  min-width: 20px;
  animation: ${h8} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
`,p8=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?b.createElement(d8,null,t):t:r==="blank"?null:b.createElement(f8,null,b.createElement(l8,{...n}),r!=="loading"&&b.createElement(c8,null,r==="error"?b.createElement(a8,{...n}):b.createElement(u8,{...n})))},m8=e=>`
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
`,v8=e=>`
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
`,g8="0%{opacity:0;} 100%{opacity:1;}",x8="0%{opacity:1;} 100%{opacity:0;}",y8=Bi("div")`
  display: flex;
  align-items: center;
  background: #fff;
  color: #363636;
  line-height: 1.3;
  will-change: transform;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
  max-width: 350px;
  pointer-events: auto;
  padding: 8px 10px;
  border-radius: 8px;
`,_8=Bi("div")`
  display: flex;
  justify-content: center;
  margin: 4px 10px;
  color: inherit;
  flex: 1 1 auto;
  white-space: pre-line;
`,E8=(e,t)=>{let r=e.includes("top")?1:-1,[n,a]=k3()?[g8,x8]:[m8(r),v8(r)];return{animation:t?`${Ia(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ia(a)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},w8=b.memo(({toast:e,position:t,style:r,children:n})=>{let a=e.height?E8(e.position||t||"top-center",e.visible):{opacity:0},i=b.createElement(p8,{toast:e}),l=b.createElement(_8,{...e.ariaProps},Df(e.message,e));return b.createElement(y8,{className:e.className,style:{...a,...r,...e.style}},typeof n=="function"?n({icon:i,message:l}):b.createElement(b.Fragment,null,i,l))});$A(b.createElement);var S8=({id:e,className:t,style:r,onHeightUpdate:n,children:a})=>{let i=b.useCallback(l=>{if(l){let s=()=>{let o=l.getBoundingClientRect().height;n(e,o)};s(),new MutationObserver(s).observe(l,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return b.createElement("div",{ref:i,className:t,style:r},a)},b8=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},a=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:k3()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...a}},T8=M0`
  z-index: 9999;
  > * {
    pointer-events: auto;
  }
`,vc=16,LH=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:a,toasterId:i,containerStyle:l,containerClassName:s})=>{let{toasts:o,handlers:u}=e8(r,i);return b.createElement("div",{"data-rht-toaster":i||"",style:{position:"fixed",zIndex:9999,top:vc,left:vc,right:vc,bottom:vc,pointerEvents:"none",...l},className:s,onMouseEnter:u.startPause,onMouseLeave:u.endPause},o.map(c=>{let f=c.position||t,h=u.calculateOffset(c,{reverseOrder:e,gutter:n,defaultPosition:t}),d=b8(f,h);return b.createElement(S8,{id:c.id,key:c.id,onHeightUpdate:u.updateHeight,className:c.visible?T8:"",style:d},c.type==="custom"?Df(c.message,c):a?a(c):b.createElement(w8,{toast:c,position:f}))}))},BH=Zt,U3={exports:{}},j3={};/**
 * @license React
 * use-sync-external-store-with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Iu=b;function F8(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var A8=typeof Object.is=="function"?Object.is:F8,O8=Iu.useSyncExternalStore,C8=Iu.useRef,R8=Iu.useEffect,D8=Iu.useMemo,N8=Iu.useDebugValue;j3.useSyncExternalStoreWithSelector=function(e,t,r,n,a){var i=C8(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=D8(function(){function o(d){if(!u){if(u=!0,c=d,d=n(d),a!==void 0&&l.hasValue){var p=l.value;if(a(p,d))return f=p}return f=d}if(p=f,A8(c,d))return p;var m=n(d);return a!==void 0&&a(p,m)?(c=d,p):(c=d,f=m)}var u=!1,c,f,h=r===void 0?null:r;return[function(){return o(t())},h===null?void 0:function(){return o(h())}]},[t,r,n,a]);var s=O8(e,i[0],i[1]);return R8(function(){l.hasValue=!0,l.value=s},[s]),N8(s),s};U3.exports=j3;var M8=U3.exports;function k8(e){e()}function L8(){let e=null,t=null;return{clear(){e=null,t=null},notify(){k8(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const a=t={callback:r,next:null,prev:t};return a.prev?a.prev.next=a:e=a,function(){!n||e===null||(n=!1,a.next?a.next.prev=a.prev:t=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}var Nx={notify(){},get:()=>[]};function B8(e,t){let r,n=Nx,a=0,i=!1;function l(m){c();const y=n.subscribe(m);let v=!1;return()=>{v||(v=!0,y(),f())}}function s(){n.notify()}function o(){p.onStateChange&&p.onStateChange()}function u(){return i}function c(){a++,r||(r=e.subscribe(o),n=L8())}function f(){a--,r&&a===0&&(r(),r=void 0,n.clear(),n=Nx)}function h(){i||(i=!0,c())}function d(){i&&(i=!1,f())}const p={addNestedSub:l,notifyNestedSubs:s,handleChangeWrapper:o,isSubscribed:u,trySubscribe:h,tryUnsubscribe:d,getListeners:()=>n};return p}var P8=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",z8=P8(),U8=()=>typeof navigator<"u"&&navigator.product==="ReactNative",j8=U8(),I8=()=>z8||j8?b.useLayoutEffect:b.useEffect,H8=I8(),V8=Symbol.for("react-redux-context"),G8=typeof globalThis<"u"?globalThis:{};function $8(){if(!b.createContext)return{};const e=G8[V8]??=new Map;let t=e.get(b.createContext);return t||(t=b.createContext(null),e.set(b.createContext,t)),t}var Oi=$8();function X8(e){const{children:t,context:r,serverState:n,store:a}=e,i=b.useMemo(()=>{const o=B8(a);return{store:a,subscription:o,getServerState:n?()=>n:void 0}},[a,n]),l=b.useMemo(()=>a.getState(),[a]);H8(()=>{const{subscription:o}=i;return o.onStateChange=o.notifyNestedSubs,o.trySubscribe(),l!==a.getState()&&o.notifyNestedSubs(),()=>{o.tryUnsubscribe(),o.onStateChange=void 0}},[i,l]);const s=r||Oi;return b.createElement(s.Provider,{value:i},t)}var PH=X8;function qm(e=Oi){return function(){return b.useContext(e)}}var I3=qm();function H3(e=Oi){const t=e===Oi?I3:qm(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var Y8=H3();function q8(e=Oi){const t=e===Oi?Y8:H3(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var zH=q8(),K8=(e,t)=>e===t;function Z8(e=Oi){const t=e===Oi?I3:qm(e),r=(n,a={})=>{const{equalityFn:i=K8}=typeof a=="function"?{equalityFn:a}:a,l=t(),{store:s,subscription:o,getServerState:u}=l;b.useRef(!0);const c=b.useCallback({[n.name](h){return n(h)}}[n.name],[n]),f=M8.useSyncExternalStoreWithSelector(o.addNestedSub,s.getState,u||s.getState,c,i);return b.useDebugValue(f),f};return Object.assign(r,{withTypes:()=>r}),r}var UH=Z8();/**
 * @remix-run/router v1.23.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function pu(){return pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pu.apply(this,arguments)}var ci;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ci||(ci={}));const Mx="popstate";function W8(e){e===void 0&&(e={});function t(a,i){let{pathname:l="/",search:s="",hash:o=""}=Tl(a.location.hash.substr(1));return!l.startsWith("/")&&!l.startsWith(".")&&(l="/"+l),ap("",{pathname:l,search:s,hash:o},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(a,i){let l=a.document.querySelector("base"),s="";if(l&&l.getAttribute("href")){let o=a.location.href,u=o.indexOf("#");s=u===-1?o:o.slice(0,u)}return s+"#"+(typeof i=="string"?i:Nf(i))}function n(a,i){Km(a.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return J8(t,r,n,e)}function Mt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Km(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Q8(){return Math.random().toString(36).substr(2,8)}function kx(e,t){return{usr:e.state,key:e.key,idx:t}}function ap(e,t,r,n){return r===void 0&&(r=null),pu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Tl(t):t,{state:r,key:t&&t.key||n||Q8()})}function Nf(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Tl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function J8(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:i=!1}=n,l=a.history,s=ci.Pop,o=null,u=c();u==null&&(u=0,l.replaceState(pu({},l.state,{idx:u}),""));function c(){return(l.state||{idx:null}).idx}function f(){s=ci.Pop;let y=c(),v=y==null?null:y-u;u=y,o&&o({action:s,location:m.location,delta:v})}function h(y,v){s=ci.Push;let g=ap(m.location,y,v);r&&r(g,y),u=c()+1;let x=kx(g,u),_=m.createHref(g);try{l.pushState(x,"",_)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;a.location.assign(_)}i&&o&&o({action:s,location:m.location,delta:1})}function d(y,v){s=ci.Replace;let g=ap(m.location,y,v);r&&r(g,y),u=c();let x=kx(g,u),_=m.createHref(g);l.replaceState(x,"",_),i&&o&&o({action:s,location:m.location,delta:0})}function p(y){let v=a.location.origin!=="null"?a.location.origin:a.location.href,g=typeof y=="string"?y:Nf(y);return g=g.replace(/ $/,"%20"),Mt(v,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,v)}let m={get action(){return s},get location(){return e(a,l)},listen(y){if(o)throw new Error("A history only accepts one active listener");return a.addEventListener(Mx,f),o=y,()=>{a.removeEventListener(Mx,f),o=null}},createHref(y){return t(a,y)},createURL:p,encodeLocation(y){let v=p(y);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:d,go(y){return l.go(y)}};return m}var Lx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Lx||(Lx={}));function eO(e,t,r){return r===void 0&&(r="/"),tO(e,t,r)}function tO(e,t,r,n){let a=typeof t=="string"?Tl(t):t,i=Zm(a.pathname||"/",r);if(i==null)return null;let l=V3(e);rO(l);let s=null;for(let o=0;s==null&&o<l.length;++o){let u=pO(i);s=fO(l[o],u)}return s}function V3(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let a=(i,l,s)=>{let o={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};o.relativePath.startsWith("/")&&(Mt(o.relativePath.startsWith(n),'Absolute route path "'+o.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),o.relativePath=o.relativePath.slice(n.length));let u=wi([n,o.relativePath]),c=r.concat(o);i.children&&i.children.length>0&&(Mt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),V3(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:uO(u,i.index),routesMeta:c})};return e.forEach((i,l)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,l);else for(let o of G3(i.path))a(i,l,o)}),t}function G3(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return a?[i,""]:[i];let l=G3(n.join("/")),s=[];return s.push(...l.map(o=>o===""?i:[i,o].join("/"))),a&&s.push(...l),s.map(o=>e.startsWith("/")&&o===""?"/":o)}function rO(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:cO(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const nO=/^:[\w-]+$/,aO=3,iO=2,lO=1,sO=10,oO=-2,Bx=e=>e==="*";function uO(e,t){let r=e.split("/"),n=r.length;return r.some(Bx)&&(n+=oO),t&&(n+=iO),r.filter(a=>!Bx(a)).reduce((a,i)=>a+(nO.test(i)?aO:i===""?lO:sO),n)}function cO(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function fO(e,t,r){let{routesMeta:n}=e,a={},i="/",l=[];for(let s=0;s<n.length;++s){let o=n[s],u=s===n.length-1,c=i==="/"?t:t.slice(i.length)||"/",f=hO({path:o.relativePath,caseSensitive:o.caseSensitive,end:u},c),h=o.route;if(!f)return null;Object.assign(a,f.params),l.push({params:a,pathname:wi([i,f.pathname]),pathnameBase:xO(wi([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=wi([i,f.pathnameBase]))}return l}function hO(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=dO(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let i=a[0],l=i.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:n.reduce((u,c,f)=>{let{paramName:h,isOptional:d}=c;if(h==="*"){let m=s[f]||"";l=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const p=s[f];return d&&!p?u[h]=void 0:u[h]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:l,pattern:e}}function dO(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Km(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,s,o)=>(n.push({paramName:s,isOptional:o!=null}),o?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function pO(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Km(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Zm(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function mO(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Tl(e):e;return{pathname:r?r.startsWith("/")?r:vO(r,t):t,search:yO(n),hash:_O(a)}}function vO(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Yh(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function gO(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Wm(e,t){let r=gO(e);return t?r.map((n,a)=>a===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Qm(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=Tl(e):(a=pu({},e),Mt(!a.pathname||!a.pathname.includes("?"),Yh("?","pathname","search",a)),Mt(!a.pathname||!a.pathname.includes("#"),Yh("#","pathname","hash",a)),Mt(!a.search||!a.search.includes("#"),Yh("#","search","hash",a)));let i=e===""||a.pathname==="",l=i?"/":a.pathname,s;if(l==null)s=r;else{let f=t.length-1;if(!n&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),f-=1;a.pathname=h.join("/")}s=f>=0?t[f]:"/"}let o=mO(a,s),u=l&&l!=="/"&&l.endsWith("/"),c=(i||l===".")&&r.endsWith("/");return!o.pathname.endsWith("/")&&(u||c)&&(o.pathname+="/"),o}const wi=e=>e.join("/").replace(/\/\/+/g,"/"),xO=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),yO=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_O=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function EO(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const $3=["post","put","patch","delete"];new Set($3);const wO=["get",...$3];new Set(wO);/**
 * React Router v6.30.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mu.apply(this,arguments)}const Jm=b.createContext(null),SO=b.createContext(null),Pi=b.createContext(null),L0=b.createContext(null),Xa=b.createContext({outlet:null,matches:[],isDataRoute:!1}),X3=b.createContext(null);function bO(e,t){let{relative:r}=t===void 0?{}:t;Ks()||Mt(!1);let{basename:n,navigator:a}=b.useContext(Pi),{hash:i,pathname:l,search:s}=K3(e,{relative:r}),o=l;return n!=="/"&&(o=l==="/"?n:wi([n,l])),a.createHref({pathname:o,search:s,hash:i})}function Ks(){return b.useContext(L0)!=null}function Hu(){return Ks()||Mt(!1),b.useContext(L0).location}function Y3(e){b.useContext(Pi).static||b.useLayoutEffect(e)}function q3(){let{isDataRoute:e}=b.useContext(Xa);return e?UO():TO()}function TO(){Ks()||Mt(!1);let e=b.useContext(Jm),{basename:t,future:r,navigator:n}=b.useContext(Pi),{matches:a}=b.useContext(Xa),{pathname:i}=Hu(),l=JSON.stringify(Wm(a,r.v7_relativeSplatPath)),s=b.useRef(!1);return Y3(()=>{s.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){n.go(u);return}let f=Qm(u,JSON.parse(l),i,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:wi([t,f.pathname])),(c.replace?n.replace:n.push)(f,c.state,c)},[t,n,l,i,e])}const FO=b.createContext(null);function AO(e){let t=b.useContext(Xa).outlet;return t&&b.createElement(FO.Provider,{value:e},t)}function K3(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=b.useContext(Pi),{matches:a}=b.useContext(Xa),{pathname:i}=Hu(),l=JSON.stringify(Wm(a,n.v7_relativeSplatPath));return b.useMemo(()=>Qm(e,JSON.parse(l),i,r==="path"),[e,l,i,r])}function OO(e,t){return CO(e,t)}function CO(e,t,r,n){Ks()||Mt(!1);let{navigator:a}=b.useContext(Pi),{matches:i}=b.useContext(Xa),l=i[i.length-1],s=l?l.params:{};l&&l.pathname;let o=l?l.pathnameBase:"/";l&&l.route;let u=Hu(),c;if(t){var f;let y=typeof t=="string"?Tl(t):t;o==="/"||(f=y.pathname)!=null&&f.startsWith(o)||Mt(!1),c=y}else c=u;let h=c.pathname||"/",d=h;if(o!=="/"){let y=o.replace(/^\//,"").split("/");d="/"+h.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=eO(e,{pathname:d}),m=kO(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:wi([o,a.encodeLocation?a.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?o:wi([o,a.encodeLocation?a.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),i,r,n);return t&&m?b.createElement(L0.Provider,{value:{location:mu({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ci.Pop}},m):m}function RO(){let e=zO(),t=EO(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),r?b.createElement("pre",{style:a},r):null,null)}const DO=b.createElement(RO,null);class NO extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?b.createElement(Xa.Provider,{value:this.props.routeContext},b.createElement(X3.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function MO(e){let{routeContext:t,match:r,children:n}=e,a=b.useContext(Jm);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),b.createElement(Xa.Provider,{value:t},n)}function kO(e,t,r,n){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var i;if(!r)return null;if(r.errors)e=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let l=e,s=(a=r)==null?void 0:a.errors;if(s!=null){let c=l.findIndex(f=>f.route.id&&s?.[f.route.id]!==void 0);c>=0||Mt(!1),l=l.slice(0,Math.min(l.length,c+1))}let o=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let c=0;c<l.length;c++){let f=l[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:h,errors:d}=r,p=f.route.loader&&h[f.route.id]===void 0&&(!d||d[f.route.id]===void 0);if(f.route.lazy||p){o=!0,u>=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((c,f,h)=>{let d,p=!1,m=null,y=null;r&&(d=s&&f.route.id?s[f.route.id]:void 0,m=f.route.errorElement||DO,o&&(u<0&&h===0?(jO("route-fallback"),p=!0,y=null):u===h&&(p=!0,y=f.route.hydrateFallbackElement||null)));let v=t.concat(l.slice(0,h+1)),g=()=>{let x;return d?x=m:p?x=y:f.route.Component?x=b.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=c,b.createElement(MO,{match:f,routeContext:{outlet:c,matches:v,isDataRoute:r!=null},children:x})};return r&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(NO,{location:r.location,revalidation:r.revalidation,component:m,error:d,children:g(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):g()},null)}var Z3=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Z3||{}),W3=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(W3||{});function LO(e){let t=b.useContext(Jm);return t||Mt(!1),t}function BO(e){let t=b.useContext(SO);return t||Mt(!1),t}function PO(e){let t=b.useContext(Xa);return t||Mt(!1),t}function Q3(e){let t=PO(),r=t.matches[t.matches.length-1];return r.route.id||Mt(!1),r.route.id}function zO(){var e;let t=b.useContext(X3),r=BO(),n=Q3();return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function UO(){let{router:e}=LO(Z3.UseNavigateStable),t=Q3(W3.UseNavigateStable),r=b.useRef(!1);return Y3(()=>{r.current=!0}),b.useCallback(function(a,i){i===void 0&&(i={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,mu({fromRouteId:t},i)))},[e,t])}const Px={};function jO(e,t,r){Px[e]||(Px[e]=!0)}function IO(e,t){e?.v7_startTransition,e?.v7_relativeSplatPath}function jH(e){let{to:t,replace:r,state:n,relative:a}=e;Ks()||Mt(!1);let{future:i,static:l}=b.useContext(Pi),{matches:s}=b.useContext(Xa),{pathname:o}=Hu(),u=q3(),c=Qm(t,Wm(s,i.v7_relativeSplatPath),o,a==="path"),f=JSON.stringify(c);return b.useEffect(()=>u(JSON.parse(f),{replace:r,state:n,relative:a}),[u,f,a,r,n]),null}function IH(e){return AO(e.context)}function HO(e){Mt(!1)}function VO(e){let{basename:t="/",children:r=null,location:n,navigationType:a=ci.Pop,navigator:i,static:l=!1,future:s}=e;Ks()&&Mt(!1);let o=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:o,navigator:i,static:l,future:mu({v7_relativeSplatPath:!1},s)}),[o,s,i,l]);typeof n=="string"&&(n=Tl(n));let{pathname:c="/",search:f="",hash:h="",state:d=null,key:p="default"}=n,m=b.useMemo(()=>{let y=Zm(c,o);return y==null?null:{location:{pathname:y,search:f,hash:h,state:d,key:p},navigationType:a}},[o,c,f,h,d,p,a]);return m==null?null:b.createElement(Pi.Provider,{value:u},b.createElement(L0.Provider,{children:r,value:m}))}function HH(e){let{children:t,location:r}=e;return OO(ip(t),r)}new Promise(()=>{});function ip(e,t){t===void 0&&(t=[]);let r=[];return b.Children.forEach(e,(n,a)=>{if(!b.isValidElement(n))return;let i=[...t,a];if(n.type===b.Fragment){r.push.apply(r,ip(n.props.children,i));return}n.type!==HO&&Mt(!1),!n.props.index||!n.props.children||Mt(!1);let l={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=ip(n.props.children,i)),r.push(l)}),r}/**
 * React Router DOM v6.30.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function lp(){return lp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lp.apply(this,arguments)}function GO(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function $O(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function XO(e,t){return e.button===0&&(!t||t==="_self")&&!$O(e)}const YO=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],qO="6";try{window.__reactRouterVersion=qO}catch{}const KO="startTransition",zx=RT[KO];function VH(e){let{basename:t,children:r,future:n,window:a}=e,i=b.useRef();i.current==null&&(i.current=W8({window:a,v5Compat:!0}));let l=i.current,[s,o]=b.useState({action:l.action,location:l.location}),{v7_startTransition:u}=n||{},c=b.useCallback(f=>{u&&zx?zx(()=>o(f)):o(f)},[o,u]);return b.useLayoutEffect(()=>l.listen(c),[l,c]),b.useEffect(()=>IO(n),[n]),b.createElement(VO,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:n})}const ZO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",WO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,GH=b.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:i,replace:l,state:s,target:o,to:u,preventScrollReset:c,viewTransition:f}=t,h=GO(t,YO),{basename:d}=b.useContext(Pi),p,m=!1;if(typeof u=="string"&&WO.test(u)&&(p=u,ZO))try{let x=new URL(window.location.href),_=u.startsWith("//")?new URL(x.protocol+u):new URL(u),w=Zm(_.pathname,d);_.origin===x.origin&&w!=null?u=w+_.search+_.hash:m=!0}catch{}let y=bO(u,{relative:a}),v=QO(u,{replace:l,state:s,target:o,preventScrollReset:c,relative:a,viewTransition:f});function g(x){n&&n(x),x.defaultPrevented||v(x)}return b.createElement("a",lp({},h,{href:p||y,onClick:m||i?n:g,ref:r,target:o}))});var Ux;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ux||(Ux={}));var jx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jx||(jx={}));function QO(e,t){let{target:r,replace:n,state:a,preventScrollReset:i,relative:l,viewTransition:s}=t===void 0?{}:t,o=q3(),u=Hu(),c=K3(e,{relative:l});return b.useCallback(f=>{if(XO(f,r)){f.preventDefault();let h=n!==void 0?n:Nf(u)===Nf(c);o(e,{replace:h,state:a,preventScrollReset:i,relative:l,viewTransition:s})}},[u,o,c,n,a,r,e,i,l,s])}function fn(e){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(e)}function JO(e,t){if(fn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(fn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function J3(e){var t=JO(e,"string");return fn(t)=="symbol"?t:t+""}function ca(e,t,r){return(t=J3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eC(){if(console&&console.warn){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];typeof r[0]=="string"&&(r[0]="react-i18next:: ".concat(r[0])),(e=console).warn.apply(e,r)}}var Ix={};function sp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];typeof t[0]=="string"&&Ix[t[0]]||(typeof t[0]=="string"&&(Ix[t[0]]=new Date),eC.apply(void 0,t))}var eS=function(t,r){return function(){if(t.isInitialized)r();else{var n=function a(){setTimeout(function(){t.off("initialized",a)},0),r()};t.on("initialized",n)}}};function Hx(e,t,r){e.loadNamespaces(t,eS(e,r))}function Vx(e,t,r,n){typeof r=="string"&&(r=[r]),r.forEach(function(a){e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,eS(e,n))}function tC(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=t.languages[0],a=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(n.toLowerCase()==="cimode")return!0;var l=function(o,u){var c=t.services.backendConnector.state["".concat(o,"|").concat(u)];return c===-1||c===2};return r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||l(n,e)&&(!a||l(i,e)))}function rC(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return sp("i18n.languages were undefined or empty",t.languages),!0;var n=t.options.ignoreJSONStructure!==void 0;return n?t.hasLoadedNamespace(e,{lng:r.lng,precheck:function(i,l){if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!l(i.isLanguageChangingTo,e))return!1}}):tC(e,t,r)}var nC=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,aC={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},iC=function(t){return aC[t]},lC=function(t){return t.replace(nC,iC)};function Gx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $x(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gx(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gx(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var op={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:lC};function sC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};op=$x($x({},op),e)}function oC(){return op}var tS;function uC(e){tS=e}function cC(){return tS}function Dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xx(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,J3(n.key),n)}}function Nn(e,t,r){return t&&Xx(e.prototype,t),r&&Xx(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var $H={type:"3rdParty",init:function(t){sC(t.options.react),uC(t)}},fC=b.createContext(),hC=function(){function e(){Dn(this,e),this.usedNamespaces={}}return Nn(e,[{key:"addUsedNamespaces",value:function(r){var n=this;r.forEach(function(a){n.usedNamespaces[a]||(n.usedNamespaces[a]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function rS(e){if(Array.isArray(e))return e}function dC(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,l,s=[],o=!0,u=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(o=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);o=!0);}catch(c){u=!0,a=c}finally{try{if(!o&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(u)throw a}}return s}}function Yx(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nS(e,t){if(e){if(typeof e=="string")return Yx(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yx(e,t):void 0}}function aS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(e,t){return rS(e)||dC(e,t)||nS(e,t)||aS()}function qx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qx(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qx(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mC=function(t,r){var n=b.useRef();return b.useEffect(function(){n.current=t},[t,r]),n.current};function XH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.i18n,n=b.useContext(fC)||{},a=n.i18n,i=n.defaultNS,l=r||a||cC();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new hC),!l){sp("You will need to pass in an i18next instance by using initReactI18next");var s=function(F,R){return typeof R=="string"?R:R&&fn(R)==="object"&&typeof R.defaultValue=="string"?R.defaultValue:Array.isArray(F)?F[F.length-1]:F},o=[s,{},!1];return o.t=s,o.i18n={},o.ready=!1,o}l.options.react&&l.options.react.wait!==void 0&&sp("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=qh(qh(qh({},oC()),l.options.react),t),c=u.useSuspense,f=u.keyPrefix,h=e||i||l.options&&l.options.defaultNS;h=typeof h=="string"?[h]:h||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(h);var d=(l.isInitialized||l.initializedStoreOnce)&&h.every(function(O){return rC(O,l,u)});function p(){return l.getFixedT(t.lng||null,u.nsMode==="fallback"?h:h[0],f)}var m=b.useState(p),y=pC(m,2),v=y[0],g=y[1],x=h.join();t.lng&&(x="".concat(t.lng).concat(x));var _=mC(x),w=b.useRef(!0);b.useEffect(function(){var O=u.bindI18n,F=u.bindI18nStore;w.current=!0,!d&&!c&&(t.lng?Vx(l,t.lng,h,function(){w.current&&g(p)}):Hx(l,h,function(){w.current&&g(p)})),d&&_&&_!==x&&w.current&&g(p);function R(){w.current&&g(p)}return O&&l&&l.on(O,R),F&&l&&l.store.on(F,R),function(){w.current=!1,O&&l&&O.split(" ").forEach(function(z){return l.off(z,R)}),F&&l&&F.split(" ").forEach(function(z){return l.store.off(z,R)})}},[l,x]);var T=b.useRef(!0);b.useEffect(function(){w.current&&!T.current&&g(p),T.current=!1},[l,f]);var E=[v,l,d];if(E.t=v,E.i18n=l,E.ready=d,d||!d&&!c)return E;throw new Promise(function(O){t.lng?Vx(l,t.lng,h,function(){return O()}):Hx(l,h,function(){return O()})})}var vC="Expected a function",Kx=NaN,gC="[object Symbol]",xC=/^\s+|\s+$/g,yC=/^[-+]0x[0-9a-f]+$/i,_C=/^0b[01]+$/i,EC=/^0o[0-7]+$/i,wC=parseInt,SC=typeof Dr=="object"&&Dr&&Dr.Object===Object&&Dr,bC=typeof self=="object"&&self&&self.Object===Object&&self,TC=SC||bC||Function("return this")(),FC=Object.prototype,AC=FC.toString,OC=Math.max,CC=Math.min,Kh=function(){return TC.Date.now()};function RC(e,t,r){var n,a,i,l,s,o,u=0,c=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(vC);t=Zx(t)||0,up(r)&&(c=!!r.leading,f="maxWait"in r,i=f?OC(Zx(r.maxWait)||0,t):i,h="trailing"in r?!!r.trailing:h);function d(T){var E=n,O=a;return n=a=void 0,u=T,l=e.apply(O,E),l}function p(T){return u=T,s=setTimeout(v,t),c?d(T):l}function m(T){var E=T-o,O=T-u,F=t-E;return f?CC(F,i-O):F}function y(T){var E=T-o,O=T-u;return o===void 0||E>=t||E<0||f&&O>=i}function v(){var T=Kh();if(y(T))return g(T);s=setTimeout(v,m(T))}function g(T){return s=void 0,h&&n?d(T):(n=a=void 0,l)}function x(){s!==void 0&&clearTimeout(s),u=0,n=o=a=s=void 0}function _(){return s===void 0?l:g(Kh())}function w(){var T=Kh(),E=y(T);if(n=arguments,a=this,o=T,E){if(s===void 0)return p(o);if(f)return s=setTimeout(v,t),d(o)}return s===void 0&&(s=setTimeout(v,t)),l}return w.cancel=x,w.flush=_,w}function up(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function DC(e){return!!e&&typeof e=="object"}function NC(e){return typeof e=="symbol"||DC(e)&&AC.call(e)==gC}function Zx(e){if(typeof e=="number")return e;if(NC(e))return Kx;if(up(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=up(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(xC,"");var r=_C.test(e);return r||EC.test(e)?wC(e.slice(2),r?2:8):yC.test(e)?Kx:+e}var MC=RC;const Wx=js(MC);var kC=typeof window<"u"?b.useLayoutEffect:b.useEffect;function YH(e,t){const r=b.useRef(e);kC(()=>{r.current=e},[e]),b.useEffect(()=>{if(t===null)return;const n=setInterval(()=>{r.current()},t);return()=>{clearInterval(n)}},[t])}function LC(e){const t=b.useRef(e);t.current=e,b.useEffect(()=>()=>{t.current()},[])}function BC(e,t=500,r){const n=b.useRef();LC(()=>{n.current&&n.current.cancel()});const a=b.useMemo(()=>{const i=Wx(e,t,r),l=(...s)=>i(...s);return l.cancel=()=>{i.cancel()},l.isPending=()=>!!n.current,l.flush=()=>i.flush(),l},[e,t,r]);return b.useEffect(()=>{n.current=Wx(e,t,r)},[e,t,r]),a}function qH(e,t,r){const n=(u,c)=>u===c,a=e instanceof Function?e():e,[i,l]=b.useState(a),s=b.useRef(a),o=BC(l,t,r);return n(s.current,a)||(o(a),s.current=a),[i,o]}function PC(){const e=b.useRef(!1);return b.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),b.useCallback(()=>e.current,[])}var Qx={width:void 0,height:void 0};function KH(e){const{ref:t,box:r="content-box"}=e,[{width:n,height:a},i]=b.useState(Qx),l=PC(),s=b.useRef({...Qx}),o=b.useRef(void 0);return o.current=e.onResize,b.useEffect(()=>{if(!t.current||typeof window>"u"||!("ResizeObserver"in window))return;const u=new ResizeObserver(([c])=>{const f=r==="border-box"?"borderBoxSize":r==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",h=Jx(c,f,"inlineSize"),d=Jx(c,f,"blockSize");if(s.current.width!==h||s.current.height!==d){const m={width:h,height:d};s.current.width=h,s.current.height=d,o.current?o.current(m):l()&&i(m)}});return u.observe(t.current,{box:r}),()=>{u.disconnect()}},[r,t,l]),{width:n,height:a}}function Jx(e,t,r){return e[t]?Array.isArray(e[t])?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}/*! js-cookie v3.0.5 | MIT */function gc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var zC={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function cp(e,t){function r(a,i,l){if(!(typeof document>"u")){l=gc({},t,l),typeof l.expires=="number"&&(l.expires=new Date(Date.now()+l.expires*864e5)),l.expires&&(l.expires=l.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var o in l)l[o]&&(s+="; "+o,l[o]!==!0&&(s+="="+l[o].split(";")[0]));return document.cookie=a+"="+e.write(i,a)+s}}function n(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],l={},s=0;s<i.length;s++){var o=i[s].split("="),u=o.slice(1).join("=");try{var c=decodeURIComponent(o[0]);if(l[c]=e.read(u,c),a===c)break}catch{}}return a?l[a]:l}}return Object.create({set:r,get:n,remove:function(a,i){r(a,"",gc({},i,{expires:-1}))},withAttributes:function(a){return cp(this.converter,gc({},this.attributes,a))},withConverter:function(a){return cp(gc({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ZH=cp(zC,{path:"/"});function ey(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function UC(e,t,r){return(t=function(n){var a=function(i,l){if(typeof i!="object"||!i)return i;var s=i[Symbol.toPrimitive];if(s!==void 0){var o=s.call(i,l);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}(n,"string");return typeof a=="symbol"?a:a+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function jC(e,t){return function(r){if(Array.isArray(r))return r}(e)||function(r,n){var a=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(a!=null){var i,l,s,o,u=[],c=!0,f=!1;try{if(s=(a=a.call(r)).next,n!==0)for(;!(c=(i=s.call(a)).done)&&(u.push(i.value),u.length!==n);c=!0);}catch(h){f=!0,l=h}finally{try{if(!c&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(f)throw l}}return u}}(e,t)||function(r,n){if(r){if(typeof r=="string")return ey(r,n);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ey(r,n):void 0}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function fp(e){return fp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fp(e)}function IC(e,t,r){return"".concat(r,"://").concat(e).concat(t?":".concat(t):"")}var HC=Symbol("group");function iS(e,t,r){for(var n=0,a=Object.entries(t);n<a.length;n++){var i=jC(a[n],2),l=i[0],s=i[1],o=r.group;s[HC]===!0&&(r.group="".concat(r.group).concat(l,"/")),fp(s)==="object"?iS(e,s,r):typeof s=="string"&&(t[l]="".concat(e).concat(r.group).concat(s).concat(r.endWith)),r.group=o}}function WH(e,t,r){var n=e.ip,a=e.port,i=e.procotol;iS(IC(n,a,i===void 0?"http":i),t,function(l){for(var s=1;s<arguments.length;s++){var o=arguments[s]!=null?arguments[s]:{};s%2?ty(Object(o),!0).forEach(function(u){UC(l,u,o[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(o)):ty(Object(o)).forEach(function(u){Object.defineProperty(l,u,Object.getOwnPropertyDescriptor(o,u))})}return l}({endWith:"",group:"/"},r))}function lS(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=lS(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function QH(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=lS(e))&&(n&&(n+=" "),n+=t);return n}function hr(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var VC=typeof Symbol=="function"&&Symbol.observable||"@@observable",ry=VC,Zh=()=>Math.random().toString(36).substring(7).split("").join("."),GC={INIT:`@@redux/INIT${Zh()}`,REPLACE:`@@redux/REPLACE${Zh()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Zh()}`},Mf=GC;function ev(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function sS(e,t,r){if(typeof e!="function")throw new Error(hr(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(hr(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(hr(1));return r(sS)(e,t)}let n=e,a=t,i=new Map,l=i,s=0,o=!1;function u(){l===i&&(l=new Map,i.forEach((y,v)=>{l.set(v,y)}))}function c(){if(o)throw new Error(hr(3));return a}function f(y){if(typeof y!="function")throw new Error(hr(4));if(o)throw new Error(hr(5));let v=!0;u();const g=s++;return l.set(g,y),function(){if(v){if(o)throw new Error(hr(6));v=!1,u(),l.delete(g),i=null}}}function h(y){if(!ev(y))throw new Error(hr(7));if(typeof y.type>"u")throw new Error(hr(8));if(typeof y.type!="string")throw new Error(hr(17));if(o)throw new Error(hr(9));try{o=!0,a=n(a,y)}finally{o=!1}return(i=l).forEach(g=>{g()}),y}function d(y){if(typeof y!="function")throw new Error(hr(10));n=y,h({type:Mf.REPLACE})}function p(){const y=f;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(hr(11));function g(){const _=v;_.next&&_.next(c())}return g(),{unsubscribe:y(g)}},[ry](){return this}}}return h({type:Mf.INIT}),{dispatch:h,subscribe:f,getState:c,replaceReducer:d,[ry]:p}}function $C(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Mf.INIT})>"u")throw new Error(hr(12));if(typeof r(void 0,{type:Mf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(hr(13))})}function XC(e){const t=Object.keys(e),r={};for(let i=0;i<t.length;i++){const l=t[i];typeof e[l]=="function"&&(r[l]=e[l])}const n=Object.keys(r);let a;try{$C(r)}catch(i){a=i}return function(l={},s){if(a)throw a;let o=!1;const u={};for(let c=0;c<n.length;c++){const f=n[c],h=r[f],d=l[f],p=h(d,s);if(typeof p>"u")throw s&&s.type,new Error(hr(14));u[f]=p,o=o||p!==d}return o=o||n.length!==Object.keys(l).length,o?u:l}}function kf(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function YC(...e){return t=>(r,n)=>{const a=t(r,n);let i=()=>{throw new Error(hr(15))};const l={getState:a.getState,dispatch:(o,...u)=>i(o,...u)},s=e.map(o=>o(l));return i=kf(...s)(a.dispatch),{...a,dispatch:i}}}function oS(e){return ev(e)&&"type"in e&&typeof e.type=="string"}var uS=Symbol.for("immer-nothing"),ny=Symbol.for("immer-draftable"),mn=Symbol.for("immer-state");function In(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ps=Object.getPrototypeOf;function hl(e){return!!e&&!!e[mn]}function Ha(e){return e?cS(e)||Array.isArray(e)||!!e[ny]||!!e.constructor?.[ny]||P0(e)||z0(e):!1}var qC=Object.prototype.constructor.toString();function cS(e){if(!e||typeof e!="object")return!1;const t=Ps(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===qC}function Lf(e,t){B0(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function B0(e){const t=e[mn];return t?t.type_:Array.isArray(e)?1:P0(e)?2:z0(e)?3:0}function hp(e,t){return B0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function fS(e,t,r){const n=B0(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function KC(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function P0(e){return e instanceof Map}function z0(e){return e instanceof Set}function Ki(e){return e.copy_||e.base_}function dp(e,t){if(P0(e))return new Map(e);if(z0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=cS(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[mn];let a=Reflect.ownKeys(n);for(let i=0;i<a.length;i++){const l=a[i],s=n[l];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[l]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[l]})}return Object.create(Ps(e),n)}else{const n=Ps(e);if(n!==null&&r)return{...e};const a=Object.create(n);return Object.assign(a,e)}}function tv(e,t=!1){return U0(e)||hl(e)||!Ha(e)||(B0(e)>1&&(e.set=e.add=e.clear=e.delete=ZC),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>tv(n,!0))),e}function ZC(){In(2)}function U0(e){return Object.isFrozen(e)}var WC={};function dl(e){const t=WC[e];return t||In(0,e),t}var vu;function hS(){return vu}function QC(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ay(e,t){t&&(dl("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function pp(e){mp(e),e.drafts_.forEach(JC),e.drafts_=null}function mp(e){e===vu&&(vu=e.parent_)}function iy(e){return vu=QC(vu,e)}function JC(e){const t=e[mn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ly(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[mn].modified_&&(pp(t),In(4)),Ha(e)&&(e=Bf(t,e),t.parent_||Pf(t,e)),t.patches_&&dl("Patches").generateReplacementPatches_(r[mn].base_,e,t.patches_,t.inversePatches_)):e=Bf(t,r,[]),pp(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==uS?e:void 0}function Bf(e,t,r){if(U0(t))return t;const n=t[mn];if(!n)return Lf(t,(a,i)=>sy(e,n,t,a,i,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Pf(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const a=n.copy_;let i=a,l=!1;n.type_===3&&(i=new Set(a),a.clear(),l=!0),Lf(i,(s,o)=>sy(e,n,a,s,o,r,l)),Pf(e,a,!1),r&&e.patches_&&dl("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function sy(e,t,r,n,a,i,l){if(hl(a)){const s=i&&t&&t.type_!==3&&!hp(t.assigned_,n)?i.concat(n):void 0,o=Bf(e,a,s);if(fS(r,n,o),hl(o))e.canAutoFreeze_=!1;else return}else l&&r.add(a);if(Ha(a)&&!U0(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Bf(e,a),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&Pf(e,a)}}function Pf(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&tv(t,r)}function eR(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:hS(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let a=n,i=rv;r&&(a=[n],i=gu);const{revoke:l,proxy:s}=Proxy.revocable(a,i);return n.draft_=s,n.revoke_=l,s}var rv={get(e,t){if(t===mn)return e;const r=Ki(e);if(!hp(r,t))return tR(e,r,t);const n=r[t];return e.finalized_||!Ha(n)?n:n===Wh(e.base_,t)?(Qh(e),e.copy_[t]=gp(n,e)):n},has(e,t){return t in Ki(e)},ownKeys(e){return Reflect.ownKeys(Ki(e))},set(e,t,r){const n=dS(Ki(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const a=Wh(Ki(e),t),i=a?.[mn];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(KC(r,a)&&(r!==void 0||hp(e.base_,t)))return!0;Qh(e),vp(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Wh(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Qh(e),vp(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Ki(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){In(11)},getPrototypeOf(e){return Ps(e.base_)},setPrototypeOf(){In(12)}},gu={};Lf(rv,(e,t)=>{gu[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});gu.deleteProperty=function(e,t){return gu.set.call(this,e,t,void 0)};gu.set=function(e,t,r){return rv.set.call(this,e[0],t,r,e[0])};function Wh(e,t){const r=e[mn];return(r?Ki(r):e)[t]}function tR(e,t,r){const n=dS(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}function dS(e,t){if(!(t in e))return;let r=Ps(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Ps(r)}}function vp(e){e.modified_||(e.modified_=!0,e.parent_&&vp(e.parent_))}function Qh(e){e.copy_||(e.copy_=dp(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var rR=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const i=r;r=t;const l=this;return function(o=i,...u){return l.produce(o,c=>r.call(this,c,...u))}}typeof r!="function"&&In(6),n!==void 0&&typeof n!="function"&&In(7);let a;if(Ha(t)){const i=iy(this),l=gp(t,void 0);let s=!0;try{a=r(l),s=!1}finally{s?pp(i):mp(i)}return ay(i,n),ly(a,i)}else if(!t||typeof t!="object"){if(a=r(t),a===void 0&&(a=t),a===uS&&(a=void 0),this.autoFreeze_&&tv(a,!0),n){const i=[],l=[];dl("Patches").generateReplacementPatches_(t,a,i,l),n(i,l)}return a}else In(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(l,...s)=>this.produceWithPatches(l,o=>t(o,...s));let n,a;return[this.produce(t,r,(l,s)=>{n=l,a=s}),n,a]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ha(e)||In(8),hl(e)&&(e=nR(e));const t=iy(this),r=gp(e,void 0);return r[mn].isManual_=!0,mp(t),r}finishDraft(e,t){const r=e&&e[mn];(!r||!r.isManual_)&&In(9);const{scope_:n}=r;return ay(n,t),ly(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const a=t[r];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}r>-1&&(t=t.slice(r+1));const n=dl("Patches").applyPatches_;return hl(e)?n(e,t):this.produce(e,a=>n(a,t))}};function gp(e,t){const r=P0(e)?dl("MapSet").proxyMap_(e,t):z0(e)?dl("MapSet").proxySet_(e,t):eR(e,t);return(t?t.scope_:hS()).drafts_.push(r),r}function nR(e){return hl(e)||In(10,e),pS(e)}function pS(e){if(!Ha(e)||U0(e))return e;const t=e[mn];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=dp(e,t.scope_.immer_.useStrictShallowCopy_)}else r=dp(e,!0);return Lf(r,(n,a)=>{fS(r,n,pS(a))}),t&&(t.finalized_=!1),r}var vn=new rR,mS=vn.produce;vn.produceWithPatches.bind(vn);vn.setAutoFreeze.bind(vn);vn.setUseStrictShallowCopy.bind(vn);vn.applyPatches.bind(vn);vn.createDraft.bind(vn);vn.finishDraft.bind(vn);function aR(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function iR(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function lR(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var oy=e=>Array.isArray(e)?e:[e];function sR(e){const t=Array.isArray(e[0])?e[0]:e;return lR(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function oR(e,t){const r=[],{length:n}=e;for(let a=0;a<n;a++)r.push(e[a].apply(null,t));return r}var uR=class{constructor(e){this.value=e}deref(){return this.value}},cR=typeof WeakRef<"u"?WeakRef:uR,fR=0,uy=1;function xc(){return{s:fR,v:void 0,o:null,p:null}}function vS(e,t={}){let r=xc();const{resultEqualityCheck:n}=t;let a,i=0;function l(){let s=r;const{length:o}=arguments;for(let f=0,h=o;f<h;f++){const d=arguments[f];if(typeof d=="function"||typeof d=="object"&&d!==null){let p=s.o;p===null&&(s.o=p=new WeakMap);const m=p.get(d);m===void 0?(s=xc(),p.set(d,s)):s=m}else{let p=s.p;p===null&&(s.p=p=new Map);const m=p.get(d);m===void 0?(s=xc(),p.set(d,s)):s=m}}const u=s;let c;if(s.s===uy)c=s.v;else if(c=e.apply(null,arguments),i++,n){const f=a?.deref?.()??a;f!=null&&n(f,c)&&(c=f,i!==0&&i--),a=typeof c=="object"&&c!==null||typeof c=="function"?new cR(c):c}return u.s=uy,u.v=c,c}return l.clearCache=()=>{r=xc(),l.resetResultsCount()},l.resultsCount=()=>i,l.resetResultsCount=()=>{i=0},l}function hR(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...a)=>{let i=0,l=0,s,o={},u=a.pop();typeof u=="object"&&(o=u,u=a.pop()),aR(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const c={...r,...o},{memoize:f,memoizeOptions:h=[],argsMemoize:d=vS,argsMemoizeOptions:p=[]}=c,m=oy(h),y=oy(p),v=sR(a),g=f(function(){return i++,u.apply(null,arguments)},...m),x=d(function(){l++;const w=oR(v,arguments);return s=g.apply(null,w),s},...y);return Object.assign(x,{resultFunc:u,memoizedResultFunc:g,dependencies:v,dependencyRecomputations:()=>l,resetDependencyRecomputations:()=>{l=0},lastResult:()=>s,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:f,argsMemoize:d})};return Object.assign(n,{withTypes:()=>n}),n}var dR=hR(vS),pR=Object.assign((e,t=dR)=>{iR(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(i=>e[i]);return t(n,(...i)=>i.reduce((l,s,o)=>(l[r[o]]=s,l),{}))},{withTypes:()=>pR});function gS(e){return({dispatch:r,getState:n})=>a=>i=>typeof i=="function"?i(r,n,e):a(i)}var mR=gS(),vR=gS,gR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kf:kf.apply(null,arguments)},xR=e=>e&&typeof e.match=="function";function Na(e,t){function r(...n){if(t){let a=t(...n);if(!a)throw new Error(hn(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>oS(n)&&n.type===e,r}var xS=class Ao extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Ao.prototype)}static get[Symbol.species](){return Ao}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Ao(...t[0].concat(this)):new Ao(...t.concat(this))}};function cy(e){return Ha(e)?mS(e,()=>{}):e}function yc(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function yR(e){return typeof e=="boolean"}var _R=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:a=!0,actionCreatorCheck:i=!0}=t??{};let l=new xS;return r&&(yR(r)?l.push(mR):l.push(vR(r.extraArgument))),l},ER="RTK_autoBatch",fy=e=>t=>{setTimeout(t,e)},wR=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let a=!0,i=!1,l=!1;const s=new Set,o=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:fy(10):e.type==="callback"?e.queueNotification:fy(e.timeout),u=()=>{l=!1,i&&(i=!1,s.forEach(c=>c()))};return Object.assign({},n,{subscribe(c){const f=()=>a&&c(),h=n.subscribe(f);return s.add(c),()=>{h(),s.delete(c)}},dispatch(c){try{return a=!c?.meta?.[ER],i=!a,i&&(l||(l=!0,o(u))),n.dispatch(c)}finally{a=!0}}})},SR=e=>function(r){const{autoBatch:n=!0}=r??{};let a=new xS(e);return n&&a.push(wR(typeof n=="object"?n:void 0)),a};function JH(e){const t=_R(),{reducer:r=void 0,middleware:n,devTools:a=!0,preloadedState:i=void 0,enhancers:l=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(ev(r))s=XC(r);else throw new Error(hn(1));let o;typeof n=="function"?o=n(t):o=t();let u=kf;a&&(u=gR({trace:!1,...typeof a=="object"&&a}));const c=YC(...o),f=SR(c);let h=typeof l=="function"?l(f):f();const d=u(...h);return sS(s,i,d)}function yS(e){const t={},r=[];let n;const a={addCase(i,l){const s=typeof i=="string"?i:i.type;if(!s)throw new Error(hn(28));if(s in t)throw new Error(hn(29));return t[s]=l,a},addMatcher(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase(i){return n=i,a}};return e(a),[t,r,n]}function bR(e){return typeof e=="function"}function TR(e,t){let[r,n,a]=yS(t),i;if(bR(e))i=()=>cy(e());else{const s=cy(e);i=()=>s}function l(s=i(),o){let u=[r[o.type],...n.filter(({matcher:c})=>c(o)).map(({reducer:c})=>c)];return u.filter(c=>!!c).length===0&&(u=[a]),u.reduce((c,f)=>{if(f)if(hl(c)){const d=f(c,o);return d===void 0?c:d}else{if(Ha(c))return mS(c,h=>f(h,o));{const h=f(c,o);if(h===void 0){if(c===null)return c;throw Error("A case reducer on a non-draftable value must not return undefined")}return h}}return c},s)}return l.getInitialState=i,l}var FR=(e,t)=>xR(e)?e.match(t):e(t);function AR(...e){return t=>e.some(r=>FR(r,t))}var OR="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_S=(e=21)=>{let t="",r=e;for(;r--;)t+=OR[Math.random()*64|0];return t},CR=["name","message","stack","code"],Jh=class{constructor(e,t){this.payload=e,this.meta=t}_type},hy=class{constructor(e,t){this.payload=e,this.meta=t}_type},RR=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of CR)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},dy="External signal was aborted",eV=(()=>{function e(t,r,n){const a=Na(t+"/fulfilled",(o,u,c,f)=>({payload:o,meta:{...f||{},arg:c,requestId:u,requestStatus:"fulfilled"}})),i=Na(t+"/pending",(o,u,c)=>({payload:void 0,meta:{...c||{},arg:u,requestId:o,requestStatus:"pending"}})),l=Na(t+"/rejected",(o,u,c,f,h)=>({payload:f,error:(n&&n.serializeError||RR)(o||"Rejected"),meta:{...h||{},arg:c,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:o?.name==="AbortError",condition:o?.name==="ConditionError"}}));function s(o,{signal:u}={}){return(c,f,h)=>{const d=n?.idGenerator?n.idGenerator(o):_S(),p=new AbortController;let m,y;function v(x){y=x,p.abort()}u&&(u.aborted?v(dy):u.addEventListener("abort",()=>v(dy),{once:!0}));const g=async function(){let x;try{let w=n?.condition?.(o,{getState:f,extra:h});if(NR(w)&&(w=await w),w===!1||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const T=new Promise((E,O)=>{m=()=>{O({name:"AbortError",message:y||"Aborted"})},p.signal.addEventListener("abort",m)});c(i(d,o,n?.getPendingMeta?.({requestId:d,arg:o},{getState:f,extra:h}))),x=await Promise.race([T,Promise.resolve(r(o,{dispatch:c,getState:f,extra:h,requestId:d,signal:p.signal,abort:v,rejectWithValue:(E,O)=>new Jh(E,O),fulfillWithValue:(E,O)=>new hy(E,O)})).then(E=>{if(E instanceof Jh)throw E;return E instanceof hy?a(E.payload,d,o,E.meta):a(E,d,o)})])}catch(w){x=w instanceof Jh?l(null,d,o,w.payload,w.meta):l(w,d,o)}finally{m&&p.signal.removeEventListener("abort",m)}return n&&!n.dispatchConditionRejection&&l.match(x)&&x.meta.condition||c(x),x}();return Object.assign(g,{abort:v,requestId:d,arg:o,unwrap(){return g.then(DR)}})}}return Object.assign(s,{pending:i,rejected:l,fulfilled:a,settled:AR(l,a),typePrefix:t})}return e.withTypes=()=>e,e})();function DR(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function NR(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var MR=Symbol.for("rtk-slice-createasyncthunk");function kR(e,t){return`${e}/${t}`}function LR({creators:e}={}){const t=e?.asyncThunk?.[MR];return function(n){const{name:a,reducerPath:i=a}=n;if(!a)throw new Error(hn(11));const l=(typeof n.reducers=="function"?n.reducers(PR()):n.reducers)||{},s=Object.keys(l),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},u={addCase(x,_){const w=typeof x=="string"?x:x.type;if(!w)throw new Error(hn(12));if(w in o.sliceCaseReducersByType)throw new Error(hn(13));return o.sliceCaseReducersByType[w]=_,u},addMatcher(x,_){return o.sliceMatchers.push({matcher:x,reducer:_}),u},exposeAction(x,_){return o.actionCreators[x]=_,u},exposeCaseReducer(x,_){return o.sliceCaseReducersByName[x]=_,u}};s.forEach(x=>{const _=l[x],w={reducerName:x,type:kR(a,x),createNotation:typeof n.reducers=="function"};UR(_)?IR(w,_,u,t):zR(w,_,u)});function c(){const[x={},_=[],w=void 0]=typeof n.extraReducers=="function"?yS(n.extraReducers):[n.extraReducers],T={...x,...o.sliceCaseReducersByType};return TR(n.initialState,E=>{for(let O in T)E.addCase(O,T[O]);for(let O of o.sliceMatchers)E.addMatcher(O.matcher,O.reducer);for(let O of _)E.addMatcher(O.matcher,O.reducer);w&&E.addDefaultCase(w)})}const f=x=>x,h=new Map,d=new WeakMap;let p;function m(x,_){return p||(p=c()),p(x,_)}function y(){return p||(p=c()),p.getInitialState()}function v(x,_=!1){function w(E){let O=E[x];return typeof O>"u"&&_&&(O=yc(d,w,y)),O}function T(E=f){const O=yc(h,_,()=>new WeakMap);return yc(O,E,()=>{const F={};for(const[R,z]of Object.entries(n.selectors??{}))F[R]=BR(z,E,()=>yc(d,E,y),_);return F})}return{reducerPath:x,getSelectors:T,get selectors(){return T(w)},selectSlice:w}}const g={name:a,reducer:m,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:y,...v(i),injectInto(x,{reducerPath:_,...w}={}){const T=_??i;return x.inject({reducerPath:T,reducer:m},w),{...g,...v(T,!0)}}};return g}}function BR(e,t,r,n){function a(i,...l){let s=t(i);return typeof s>"u"&&n&&(s=r()),e(s,...l)}return a.unwrapped=e,a}var tV=LR();function PR(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function zR({type:e,reducerName:t,createNotation:r},n,a){let i,l;if("reducer"in n){if(r&&!jR(n))throw new Error(hn(17));i=n.reducer,l=n.prepare}else i=n;a.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,l?Na(e,l):Na(e))}function UR(e){return e._reducerDefinitionType==="asyncThunk"}function jR(e){return e._reducerDefinitionType==="reducerWithPrepare"}function IR({type:e,reducerName:t},r,n,a){if(!a)throw new Error(hn(18));const{payloadCreator:i,fulfilled:l,pending:s,rejected:o,settled:u,options:c}=r,f=a(e,i,c);n.exposeAction(t,f),l&&n.addCase(f.fulfilled,l),s&&n.addCase(f.pending,s),o&&n.addCase(f.rejected,o),u&&n.addMatcher(f.settled,u),n.exposeCaseReducer(t,{fulfilled:l||_c,pending:s||_c,rejected:o||_c,settled:u||_c})}function _c(){}var HR="task",ES="listener",wS="completed",nv="cancelled",VR=`task-${nv}`,GR=`task-${wS}`,xp=`${ES}-${nv}`,$R=`${ES}-${wS}`,j0=class{constructor(e){this.code=e,this.message=`${HR} ${nv} (reason: ${e})`}name="TaskAbortError";message},av=(e,t)=>{if(typeof e!="function")throw new TypeError(hn(32))},zf=()=>{},SS=(e,t=zf)=>(e.catch(t),e),bS=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),nl=(e,t)=>{const r=e.signal;r.aborted||("reason"in r||Object.defineProperty(r,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},al=e=>{if(e.aborted){const{reason:t}=e;throw new j0(t)}};function TS(e,t){let r=zf;return new Promise((n,a)=>{const i=()=>a(new j0(e.reason));if(e.aborted){i();return}r=bS(e,i),t.finally(()=>r()).then(n,a)}).finally(()=>{r=zf})}var XR=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(r){return{status:r instanceof j0?"cancelled":"rejected",error:r}}finally{t?.()}},Uf=e=>t=>SS(TS(e,t).then(r=>(al(e),r))),FS=e=>{const t=Uf(e);return r=>t(new Promise(n=>setTimeout(n,r)))},{assign:_s}=Object,py={},I0="listenerMiddleware",YR=(e,t)=>{const r=n=>bS(e,()=>nl(n,e.reason));return(n,a)=>{av(n);const i=new AbortController;r(i);const l=XR(async()=>{al(e),al(i.signal);const s=await n({pause:Uf(i.signal),delay:FS(i.signal),signal:i.signal});return al(i.signal),s},()=>nl(i,GR));return a?.autoJoin&&t.push(l.catch(zf)),{result:Uf(e)(l),cancel(){nl(i,VR)}}}},qR=(e,t)=>{const r=async(n,a)=>{al(t);let i=()=>{};const s=[new Promise((o,u)=>{let c=e({predicate:n,effect:(f,h)=>{h.unsubscribe(),o([f,h.getState(),h.getOriginalState()])}});i=()=>{c(),u()}})];a!=null&&s.push(new Promise(o=>setTimeout(o,a,null)));try{const o=await TS(t,Promise.race(s));return al(t),o}finally{i()}};return(n,a)=>SS(r(n,a))},AS=e=>{let{type:t,actionCreator:r,matcher:n,predicate:a,effect:i}=e;if(t)a=Na(t).match;else if(r)t=r.type,a=r.match;else if(n)a=n;else if(!a)throw new Error(hn(21));return av(i),{predicate:a,type:t,effect:i}},OS=_s(e=>{const{type:t,predicate:r,effect:n}=AS(e);return{id:_S(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(hn(22))}}},{withTypes:()=>OS}),my=(e,t)=>{const{type:r,effect:n,predicate:a}=AS(t);return Array.from(e.values()).find(i=>(typeof r=="string"?i.type===r:i.predicate===a)&&i.effect===n)},yp=e=>{e.pending.forEach(t=>{nl(t,xp)})},KR=e=>()=>{e.forEach(yp),e.clear()},vy=(e,t,r)=>{try{e(t,r)}catch(n){setTimeout(()=>{throw n},0)}},CS=_s(Na(`${I0}/add`),{withTypes:()=>CS}),ZR=Na(`${I0}/removeAll`),RS=_s(Na(`${I0}/remove`),{withTypes:()=>RS}),WR=(...e)=>{console.error(`${I0}/error`,...e)},rV=(e={})=>{const t=new Map,{extra:r,onError:n=WR}=e;av(n);const a=c=>(c.unsubscribe=()=>t.delete(c.id),t.set(c.id,c),f=>{c.unsubscribe(),f?.cancelActive&&yp(c)}),i=c=>{const f=my(t,c)??OS(c);return a(f)};_s(i,{withTypes:()=>i});const l=c=>{const f=my(t,c);return f&&(f.unsubscribe(),c.cancelActive&&yp(f)),!!f};_s(l,{withTypes:()=>l});const s=async(c,f,h,d)=>{const p=new AbortController,m=qR(i,p.signal),y=[];try{c.pending.add(p),await Promise.resolve(c.effect(f,_s({},h,{getOriginalState:d,condition:(v,g)=>m(v,g).then(Boolean),take:m,delay:FS(p.signal),pause:Uf(p.signal),extra:r,signal:p.signal,fork:YR(p.signal,y),unsubscribe:c.unsubscribe,subscribe:()=>{t.set(c.id,c)},cancelActiveListeners:()=>{c.pending.forEach((v,g,x)=>{v!==p&&(nl(v,xp),x.delete(v))})},cancel:()=>{nl(p,xp),c.pending.delete(p)},throwIfCancelled:()=>{al(p.signal)}})))}catch(v){v instanceof j0||vy(n,v,{raisedBy:"effect"})}finally{await Promise.all(y),nl(p,$R),c.pending.delete(p)}},o=KR(t);return{middleware:c=>f=>h=>{if(!oS(h))return f(h);if(CS.match(h))return i(h.payload);if(ZR.match(h)){o();return}if(RS.match(h))return l(h.payload);let d=c.getState();const p=()=>{if(d===py)throw new Error(hn(23));return d};let m;try{if(m=f(h),t.size>0){const y=c.getState(),v=Array.from(t.values());for(const g of v){let x=!1;try{x=g.predicate(h,y,d)}catch(_){x=!1,vy(n,_,{raisedBy:"predicate"})}x&&s(g,h,c,p)}}}finally{d=py}return m},startListening:i,stopListening:l,clearListeners:o}};function hn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function Si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _p(e,t){return _p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},_p(e,t)}function H0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_p(e,t)}function Vu(e,t){if(t&&(fn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Si(e)}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},la(e)}function QR(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JR(e){return rS(e)||QR(e)||nS(e)||aS()}function gy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gy(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var e9={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,r){console&&console[t]&&console[t].apply(console,r)}},t9=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dn(this,e),this.init(t,r)}return Nn(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=r||e9,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(r,n,a,i){return i&&!this.debug?null:(typeof r[0]=="string"&&(r[0]="".concat(a).concat(this.prefix," ").concat(r[0])),this.logger[n](r))}},{key:"create",value:function(r){return new e(this.logger,xy(xy({},{prefix:"".concat(this.prefix,":").concat(r,":")}),this.options))}},{key:"clone",value:function(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new e(this.logger,r)}}]),e}(),aa=new t9,Ci=function(){function e(){Dn(this,e),this.observers={}}return Nn(e,[{key:"on",value:function(r,n){var a=this;return r.split(" ").forEach(function(i){a.observers[i]=a.observers[i]||[],a.observers[i].push(n)}),this}},{key:"off",value:function(r,n){if(this.observers[r]){if(!n){delete this.observers[r];return}this.observers[r]=this.observers[r].filter(function(a){return a!==n})}}},{key:"emit",value:function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];if(this.observers[r]){var l=[].concat(this.observers[r]);l.forEach(function(o){o.apply(void 0,a)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(o){o.apply(o,[r].concat(a))})}}}]),e}();function go(){var e,t,r=new Promise(function(n,a){e=n,t=a});return r.resolve=e,r.reject=t,r}function yy(e){return e==null?"":""+e}function r9(e,t,r){e.forEach(function(n){t[n]&&(r[n]=t[n])})}function iv(e,t,r){function n(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function a(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(a())return{};var l=n(i.shift());!e[l]&&r&&(e[l]=new r),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={}}return a()?{}:{obj:e,k:n(i.shift())}}function _y(e,t,r){var n=iv(e,t,Object),a=n.obj,i=n.k;a[i]=r}function n9(e,t,r,n){var a=iv(e,t,Object),i=a.obj,l=a.k;i[l]=i[l]||[],i[l].push(r)}function jf(e,t){var r=iv(e,t),n=r.obj,a=r.k;if(n)return n[a]}function a9(e,t,r){var n=jf(e,r);return n!==void 0?n:jf(t,r)}function DS(e,t,r){for(var n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?typeof e[n]=="string"||e[n]instanceof String||typeof t[n]=="string"||t[n]instanceof String?r&&(e[n]=t[n]):DS(e[n],t[n],r):e[n]=t[n]);return e}function jl(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var i9={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function l9(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return i9[t]}):e}var V0=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,s9=[" ",",","?","!",";"];function o9(e,t,r){t=t||"",r=r||"";var n=s9.filter(function(s){return t.indexOf(s)<0&&r.indexOf(s)<0});if(n.length===0)return!0;var a=new RegExp("(".concat(n.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),i=!a.test(e);if(!i){var l=e.indexOf(r);l>0&&!a.test(e.substring(0,l))&&(i=!0)}return i}function If(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var n=t.split(r),a=e,i=0;i<n.length;++i){if(!a||typeof a[n[i]]=="string"&&i+1<n.length)return;if(a[n[i]]===void 0){for(var l=2,s=n.slice(i,i+l).join(r),o=a[s];o===void 0&&n.length>i+l;)l++,s=n.slice(i,i+l).join(r),o=a[s];if(o===void 0)return;if(o===null)return null;if(t.endsWith(s)){if(typeof o=="string")return o;if(s&&typeof o[s]=="string")return o[s]}var u=n.slice(i+l).join(r);return u?If(o,u,r):void 0}a=a[n[i]]}return a}}function Ey(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ec(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ey(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ey(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function u9(e){var t=c9();return function(){var n=la(e),a;if(t){var i=la(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vu(this,a)}}function c9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var f9=function(e){H0(r,e);var t=u9(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Dn(this,r),a=t.call(this),V0&&Ci.call(Si(a)),a.data=n||{},a.options=i,a.options.keySeparator===void 0&&(a.options.keySeparator="."),a.options.ignoreJSONStructure===void 0&&(a.options.ignoreJSONStructure=!0),a}return Nn(r,[{key:"addNamespaces",value:function(a){this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}},{key:"removeNamespaces",value:function(a){var i=this.options.ns.indexOf(a);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(a,i,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[a,i];l&&typeof l!="string"&&(c=c.concat(l)),l&&typeof l=="string"&&(c=c.concat(o?l.split(o):l)),a.indexOf(".")>-1&&(c=a.split("."));var f=jf(this.data,c);return f||!u||typeof l!="string"?f:If(this.data&&this.data[a]&&this.data[a][i],l,o)}},{key:"addResource",value:function(a,i,l,s){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,c=[a,i];l&&(c=c.concat(u?l.split(u):l)),a.indexOf(".")>-1&&(c=a.split("."),s=i,i=c[1]),this.addNamespaces(i),_y(this.data,c,s),o.silent||this.emit("added",a,i,l,s)}},{key:"addResources",value:function(a,i,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var o in l)(typeof l[o]=="string"||Object.prototype.toString.apply(l[o])==="[object Array]")&&this.addResource(a,i,o,l[o],{silent:!0});s.silent||this.emit("added",a,i,l)}},{key:"addResourceBundle",value:function(a,i,l,s,o){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},c=[a,i];a.indexOf(".")>-1&&(c=a.split("."),s=l,l=i,i=c[1]),this.addNamespaces(i);var f=jf(this.data,c)||{};s?DS(f,l,o):f=Ec(Ec({},f),l),_y(this.data,c,f),u.silent||this.emit("added",a,i,l)}},{key:"removeResourceBundle",value:function(a,i){this.hasResourceBundle(a,i)&&delete this.data[a][i],this.removeNamespaces(i),this.emit("removed",a,i)}},{key:"hasResourceBundle",value:function(a,i){return this.getResource(a,i)!==void 0}},{key:"getResourceBundle",value:function(a,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Ec(Ec({},{}),this.getResource(a,i)):this.getResource(a,i)}},{key:"getDataByLanguage",value:function(a){return this.data[a]}},{key:"hasLanguageSomeTranslations",value:function(a){var i=this.getDataByLanguage(a),l=i&&Object.keys(i)||[];return!!l.find(function(s){return i[s]&&Object.keys(i[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(Ci),NS={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,r,n,a,i){var l=this;return t.forEach(function(s){l.processors[s]&&(r=l.processors[s].process(r,n,a,i))}),r}};function wy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function br(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wy(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function h9(e){var t=d9();return function(){var n=la(e),a;if(t){var i=la(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vu(this,a)}}function d9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Sy={},by=function(e){H0(r,e);var t=h9(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Dn(this,r),a=t.call(this),V0&&Ci.call(Si(a)),r9(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Si(a)),a.options=i,a.options.keySeparator===void 0&&(a.options.keySeparator="."),a.logger=aa.create("translator"),a}return Nn(r,[{key:"changeLanguage",value:function(a){a&&(this.language=a)}},{key:"exists",value:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(a==null)return!1;var l=this.resolve(a,i);return l&&l.res!==void 0}},{key:"extractFromKey",value:function(a,i){var l=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,o=i.ns||this.options.defaultNS||[],u=l&&a.indexOf(l)>-1,c=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!o9(a,l,s);if(u&&!c){var f=a.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:a,namespaces:o};var h=a.split(l);(l!==s||l===s&&this.options.ns.indexOf(h[0])>-1)&&(o=h.shift()),a=h.join(s)}return typeof o=="string"&&(o=[o]),{key:a,namespaces:o}}},{key:"translate",value:function(a,i,l){var s=this;if(fn(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),fn(i)==="object"&&(i=br({},i)),i||(i={}),a==null)return"";Array.isArray(a)||(a=[String(a)]);var o=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,u=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,c=this.extractFromKey(a[a.length-1],i),f=c.key,h=c.namespaces,d=h[h.length-1],p=i.lng||this.language,m=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&p.toLowerCase()==="cimode"){if(m){var y=i.nsSeparator||this.options.nsSeparator;return o?{res:"".concat(d).concat(y).concat(f),usedKey:f,exactUsedKey:f,usedLng:p,usedNS:d}:"".concat(d).concat(y).concat(f)}return o?{res:f,usedKey:f,exactUsedKey:f,usedLng:p,usedNS:d}:f}var v=this.resolve(a,i),g=v&&v.res,x=v&&v.usedKey||f,_=v&&v.exactUsedKey||f,w=Object.prototype.toString.apply(g),T=["[object Number]","[object Function]","[object RegExp]"],E=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject,F=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(O&&g&&F&&T.indexOf(w)<0&&!(typeof E=="string"&&w==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var R=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,g,br(br({},i),{},{ns:h})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return o?(v.res=R,v):R}if(u){var z=w==="[object Array]",j=z?[]:{},G=z?_:x;for(var ce in g)if(Object.prototype.hasOwnProperty.call(g,ce)){var L="".concat(G).concat(u).concat(ce);j[ce]=this.translate(L,br(br({},i),{joinArrays:!1,ns:h})),j[ce]===L&&(j[ce]=g[ce])}g=j}}else if(O&&typeof E=="string"&&w==="[object Array]")g=g.join(E),g&&(g=this.extendTranslation(g,a,i,l));else{var U=!1,ee=!1,oe=i.count!==void 0&&typeof i.count!="string",de=r.hasDefaultValue(i),fe=oe?this.pluralResolver.getSuffix(p,i.count,i):"",Fe=i["defaultValue".concat(fe)]||i.defaultValue;!this.isValidLookup(g)&&de&&(U=!0,g=Fe),this.isValidLookup(g)||(ee=!0,g=f);var B=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,H=B&&ee?void 0:g,I=de&&Fe!==g&&this.options.updateMissing;if(ee||U||I){if(this.logger.log(I?"updateKey":"missingKey",p,d,f,I?Fe:g),u){var V=this.resolve(f,br(br({},i),{},{keySeparator:!1}));V&&V.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var re=[],ve=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ve&&ve[0])for(var Q=0;Q<ve.length;Q++)re.push(ve[Q]);else this.options.saveMissingTo==="all"?re=this.languageUtils.toResolveHierarchy(i.lng||this.language):re.push(i.lng||this.language);var W=function(me,Ce,Ge){var Re=de&&Ge!==g?Ge:H;s.options.missingKeyHandler?s.options.missingKeyHandler(me,d,Ce,Re,I,i):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(me,d,Ce,Re,I,i),s.emit("missingKey",me,d,Ce,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&oe?re.forEach(function(q){s.pluralResolver.getSuffixes(q,i).forEach(function(me){W([q],f+me,i["defaultValue".concat(me)]||Fe)})}):W(re,f,Fe))}g=this.extendTranslation(g,a,i,v,l),ee&&g===f&&this.options.appendNamespaceToMissingKey&&(g="".concat(d,":").concat(f)),(ee||U)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(f):f,U?g:void 0):g=this.options.parseMissingKeyHandler(g))}return o?(v.res=g,v):g}},{key:"extendTranslation",value:function(a,i,l,s,o){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)a=this.i18nFormat.parse(a,br(br({},this.options.interpolation.defaultVariables),l),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init(br(br({},l),{interpolation:br(br({},this.options.interpolation),l.interpolation)}));var c=typeof a=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(c){var h=a.match(this.interpolator.nestingRegexp);f=h&&h.length}var d=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(d=br(br({},this.options.interpolation.defaultVariables),d)),a=this.interpolator.interpolate(a,d,l.lng||this.language,l),c){var p=a.match(this.interpolator.nestingRegexp),m=p&&p.length;f<m&&(l.nest=!1)}!l.lng&&this.options.compatibilityAPI!=="v1"&&s&&s.res&&(l.lng=s.usedLng),l.nest!==!1&&(a=this.interpolator.nest(a,function(){for(var g=arguments.length,x=new Array(g),_=0;_<g;_++)x[_]=arguments[_];return o&&o[0]===x[0]&&!l.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(x[0]," in key: ").concat(i[0])),null):u.translate.apply(u,x.concat([i]))},l)),l.interpolation&&this.interpolator.reset()}var y=l.postProcess||this.options.postProcess,v=typeof y=="string"?[y]:y;return a!=null&&v&&v.length&&l.applyPostProcessor!==!1&&(a=NS.handle(v,a,i,this.options&&this.options.postProcessPassResolved?br({i18nResolved:s},l):l,this)),a}},{key:"resolve",value:function(a){var i=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,o,u,c,f;return typeof a=="string"&&(a=[a]),a.forEach(function(h){if(!i.isValidLookup(s)){var d=i.extractFromKey(h,l),p=d.key;o=p;var m=d.namespaces;i.options.fallbackNS&&(m=m.concat(i.options.fallbackNS));var y=l.count!==void 0&&typeof l.count!="string",v=y&&!l.ordinal&&l.count===0&&i.pluralResolver.shouldUseIntlApi(),g=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",x=l.lngs?l.lngs:i.languageUtils.toResolveHierarchy(l.lng||i.language,l.fallbackLng);m.forEach(function(_){i.isValidLookup(s)||(f=_,!Sy["".concat(x[0],"-").concat(_)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(f)&&(Sy["".concat(x[0],"-").concat(_)]=!0,i.logger.warn('key "'.concat(o,'" for languages "').concat(x.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),x.forEach(function(w){if(!i.isValidLookup(s)){c=w;var T=[p];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(T,p,w,_,l);else{var E;y&&(E=i.pluralResolver.getSuffix(w,l.count,l));var O="".concat(i.options.pluralSeparator,"zero");if(y&&(T.push(p+E),v&&T.push(p+O)),g){var F="".concat(p).concat(i.options.contextSeparator).concat(l.context);T.push(F),y&&(T.push(F+E),v&&T.push(F+O))}}for(var R;R=T.pop();)i.isValidLookup(s)||(u=R,s=i.getResource(w,_,R,l))}}))})}}),{res:s,usedKey:o,exactUsedKey:u,usedLng:c,usedNS:f}}},{key:"isValidLookup",value:function(a){return a!==void 0&&!(!this.options.returnNull&&a===null)&&!(!this.options.returnEmptyString&&a==="")}},{key:"getResource",value:function(a,i,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(a,i,l,s):this.resourceStore.getResource(a,i,l,s)}}],[{key:"hasDefaultValue",value:function(a){var i="defaultValue";for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)&&i===l.substring(0,i.length)&&a[l]!==void 0)return!0;return!1}}]),r}(Ci);function ed(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ty=function(){function e(t){Dn(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=aa.create("languageUtils")}return Nn(e,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var n=r.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var n=r.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],a=r.split("-");return this.options.lowerCaseLng?a=a.map(function(i){return i.toLowerCase()}):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=ed(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=ed(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=ed(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var n=this;if(!r)return null;var a;return r.forEach(function(i){if(!a){var l=n.formatLanguageCode(i);(!n.options.supportedLngs||n.isSupportedCode(l))&&(a=l)}}),!a&&this.options.supportedLngs&&r.forEach(function(i){if(!a){var l=n.getLanguagePartFromCode(i);if(n.isSupportedCode(l))return a=l;a=n.options.supportedLngs.find(function(s){if(s===l)return s;if(!(s.indexOf("-")<0&&l.indexOf("-")<0)&&s.indexOf(l)===0)return s})}}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}},{key:"getFallbackCodes",value:function(r,n){if(!r)return[];if(typeof r=="function"&&(r=r(n)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!n)return r.default||[];var a=r[n];return a||(a=r[this.getScriptPartFromCode(n)]),a||(a=r[this.formatLanguageCode(n)]),a||(a=r[this.getLanguagePartFromCode(n)]),a||(a=r.default),a||[]}},{key:"toResolveHierarchy",value:function(r,n){var a=this,i=this.getFallbackCodes(n||this.options.fallbackLng||[],r),l=[],s=function(u){u&&(a.isSupportedCode(u)?l.push(u):a.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(r))):typeof r=="string"&&s(this.formatLanguageCode(r)),i.forEach(function(o){l.indexOf(o)<0&&s(a.formatLanguageCode(o))}),l}}]),e}(),p9=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],m9={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},v9=["v1","v2","v3"],Fy={zero:0,one:1,two:2,few:3,many:4,other:5};function g9(){var e={};return p9.forEach(function(t){t.lngs.forEach(function(r){e[r]={numbers:t.nr,plurals:m9[t.fc]}})}),e}var x9=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dn(this,e),this.languageUtils=t,this.options=r,this.logger=aa.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=g9()}return Nn(e,[{key:"addRule",value:function(r,n){this.rules[r]=n}},{key:"getRule",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=this.getRule(r,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(r,a).map(function(i){return"".concat(n).concat(i)})}},{key:"getSuffixes",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(r,a);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(l,s){return Fy[l]-Fy[s]}).map(function(l){return"".concat(n.options.prepend).concat(l)}):i.numbers.map(function(l){return n.getSuffix(r,l,a)}):[]}},{key:"getSuffix",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(r,a);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(n)):this.getSuffixRetroCompatible(i,n):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function(r,n){var a=this,i=r.noAbs?r.plurals(n):r.plurals(Math.abs(n)),l=r.numbers[i];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(l===2?l="plural":l===1&&(l=""));var s=function(){return a.options.prepend&&l.toString()?a.options.prepend+l.toString():l.toString()};return this.options.compatibilityJSON==="v1"?l===1?"":typeof l=="number"?"_plural_".concat(l.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!v9.includes(this.options.compatibilityJSON)}}]),e}();function Ay(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Pn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ay(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ay(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oy(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=a9(e,t,r);return!i&&a&&typeof r=="string"&&(i=If(e,r,n),i===void 0&&(i=If(t,r,n))),i}var y9=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Dn(this,e),this.logger=aa.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(r){return r},this.init(t)}return Nn(e,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var n=r.interpolation;this.escape=n.escape!==void 0?n.escape:l9,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?jl(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?jl(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?jl(n.nestingPrefix):n.nestingPrefixEscaped||jl("$t("),this.nestingSuffix=n.nestingSuffix?jl(n.nestingSuffix):n.nestingSuffixEscaped||jl(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var a="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(a,"g")}},{key:"interpolate",value:function(r,n,a,i){var l=this,s,o,u,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(y){return y.replace(/\$/g,"$$$$")}var h=function(v){if(v.indexOf(l.formatSeparator)<0){var g=Oy(n,c,v,l.options.keySeparator,l.options.ignoreJSONStructure);return l.alwaysFormat?l.format(g,void 0,a,Pn(Pn(Pn({},i),n),{},{interpolationkey:v})):g}var x=v.split(l.formatSeparator),_=x.shift().trim(),w=x.join(l.formatSeparator).trim();return l.format(Oy(n,c,_,l.options.keySeparator,l.options.ignoreJSONStructure),w,a,Pn(Pn(Pn({},i),n),{},{interpolationkey:_}))};this.resetRegExp();var d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,p=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,m=[{regex:this.regexpUnescape,safeValue:function(v){return f(v)}},{regex:this.regexp,safeValue:function(v){return l.escapeValue?f(l.escape(v)):f(v)}}];return m.forEach(function(y){for(u=0;s=y.regex.exec(r);){var v=s[1].trim();if(o=h(v),o===void 0)if(typeof d=="function"){var g=d(r,s,i);o=typeof g=="string"?g:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))o="";else if(p){o=s[0];continue}else l.logger.warn("missed to pass in variable ".concat(v," for interpolating ").concat(r)),o="";else typeof o!="string"&&!l.useRawValueToEscape&&(o=yy(o));var x=y.safeValue(o);if(r=r.replace(s[0],x),p?(y.regex.lastIndex+=o.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,u++,u>=l.maxReplaces)break}}),r}},{key:"nest",value:function(r,n){var a=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l,s,o;function u(d,p){var m=this.nestingOptionsSeparator;if(d.indexOf(m)<0)return d;var y=d.split(new RegExp("".concat(m,"[ ]*{"))),v="{".concat(y[1]);d=y[0],v=this.interpolate(v,o);var g=v.match(/'/g),x=v.match(/"/g);(g&&g.length%2===0&&!x||x.length%2!==0)&&(v=v.replace(/'/g,'"'));try{o=JSON.parse(v),p&&(o=Pn(Pn({},p),o))}catch(_){return this.logger.warn("failed parsing options string in nesting for key ".concat(d),_),"".concat(d).concat(m).concat(v)}return delete o.defaultValue,d}for(;l=this.nestingRegexp.exec(r);){var c=[];o=Pn({},i),o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;var f=!1;if(l[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(l[1])){var h=l[1].split(this.formatSeparator).map(function(d){return d.trim()});l[1]=h.shift(),c=h,f=!0}if(s=n(u.call(this,l[1].trim(),o),o),s&&l[0]===r&&typeof s!="string")return s;typeof s!="string"&&(s=yy(s)),s||(this.logger.warn("missed to resolve ".concat(l[1]," for nesting ").concat(r)),s=""),f&&(s=c.reduce(function(d,p){return a.format(d,p,i.lng,Pn(Pn({},i),{},{interpolationkey:l[1].trim()}))},s.trim())),r=r.replace(l[0],s),this.regexp.lastIndex=0}return r}}]),e}();function Cy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cy(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _9(e){var t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){var n=e.split("(");t=n[0].toLowerCase().trim();var a=n[1].substring(0,n[1].length-1);if(t==="currency"&&a.indexOf(":")<0)r.currency||(r.currency=a.trim());else if(t==="relativetime"&&a.indexOf(":")<0)r.range||(r.range=a.trim());else{var i=a.split(";");i.forEach(function(l){if(l){var s=l.split(":"),o=JR(s),u=o[0],c=o.slice(1),f=c.join(":").trim().replace(/^'+|'+$/g,"");r[u.trim()]||(r[u.trim()]=f),f==="false"&&(r[u.trim()]=!1),f==="true"&&(r[u.trim()]=!0),isNaN(f)||(r[u.trim()]=parseInt(f,10))}})}}return{formatName:t,formatOptions:r}}function Il(e){var t={};return function(n,a,i){var l=a+JSON.stringify(i),s=t[l];return s||(s=e(a,i),t[l]=s),s(n)}}var E9=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Dn(this,e),this.logger=aa.create("formatter"),this.options=t,this.formats={number:Il(function(r,n){var a=new Intl.NumberFormat(r,xa({},n));return function(i){return a.format(i)}}),currency:Il(function(r,n){var a=new Intl.NumberFormat(r,xa(xa({},n),{},{style:"currency"}));return function(i){return a.format(i)}}),datetime:Il(function(r,n){var a=new Intl.DateTimeFormat(r,xa({},n));return function(i){return a.format(i)}}),relativetime:Il(function(r,n){var a=new Intl.RelativeTimeFormat(r,xa({},n));return function(i){return a.format(i,n.range||"day")}}),list:Il(function(r,n){var a=new Intl.ListFormat(r,xa({},n));return function(i){return a.format(i)}})},this.init(t)}return Nn(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},a=n.interpolation;this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||","}},{key:"add",value:function(r,n){this.formats[r.toLowerCase().trim()]=n}},{key:"addCached",value:function(r,n){this.formats[r.toLowerCase().trim()]=Il(n)}},{key:"format",value:function(r,n,a){var i=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n.split(this.formatSeparator),o=s.reduce(function(u,c){var f=_9(c),h=f.formatName,d=f.formatOptions;if(i.formats[h]){var p=u;try{var m=l&&l.formatParams&&l.formatParams[l.interpolationkey]||{},y=m.locale||m.lng||l.locale||l.lng||a;p=i.formats[h](u,y,xa(xa(xa({},d),l),m))}catch(v){i.logger.warn(v)}return p}else i.logger.warn("there was no format function for ".concat(h));return u},r);return o}}]),e}();function Ry(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Dy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ry(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ry(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w9(e){var t=S9();return function(){var n=la(e),a;if(t){var i=la(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vu(this,a)}}function S9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function b9(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var T9=function(e){H0(r,e);var t=w9(r);function r(n,a,i){var l,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Dn(this,r),l=t.call(this),V0&&Ci.call(Si(l)),l.backend=n,l.store=a,l.services=i,l.languageUtils=i.languageUtils,l.options=s,l.logger=aa.create("backendConnector"),l.waitingReads=[],l.maxParallelReads=s.maxParallelReads||10,l.readingCalls=0,l.maxRetries=s.maxRetries>=0?s.maxRetries:5,l.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(i,s.backend,s),l}return Nn(r,[{key:"queueLoad",value:function(a,i,l,s){var o=this,u={},c={},f={},h={};return a.forEach(function(d){var p=!0;i.forEach(function(m){var y="".concat(d,"|").concat(m);!l.reload&&o.store.hasResourceBundle(d,m)?o.state[y]=2:o.state[y]<0||(o.state[y]===1?c[y]===void 0&&(c[y]=!0):(o.state[y]=1,p=!1,c[y]===void 0&&(c[y]=!0),u[y]===void 0&&(u[y]=!0),h[m]===void 0&&(h[m]=!0)))}),p||(f[d]=!0)}),(Object.keys(u).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(c),toLoadLanguages:Object.keys(f),toLoadNamespaces:Object.keys(h)}}},{key:"loaded",value:function(a,i,l){var s=a.split("|"),o=s[0],u=s[1];i&&this.emit("failedLoading",o,u,i),l&&this.store.addResourceBundle(o,u,l),this.state[a]=i?-1:2;var c={};this.queue.forEach(function(f){n9(f.loaded,[o],u),b9(f,a),i&&f.errors.push(i),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(function(h){c[h]||(c[h]={});var d=f.loaded[h];d.length&&d.forEach(function(p){c[h][p]===void 0&&(c[h][p]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(a,i,l){var s=this,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!a.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:a,ns:i,fcName:l,tried:o,wait:u,callback:c});return}this.readingCalls++;var f=function(m,y){if(s.readingCalls--,s.waitingReads.length>0){var v=s.waitingReads.shift();s.read(v.lng,v.ns,v.fcName,v.tried,v.wait,v.callback)}if(m&&y&&o<s.maxRetries){setTimeout(function(){s.read.call(s,a,i,l,o+1,u*2,c)},u);return}c(m,y)},h=this.backend[l].bind(this.backend);if(h.length===2){try{var d=h(a,i);d&&typeof d.then=="function"?d.then(function(p){return f(null,p)}).catch(f):f(null,d)}catch(p){f(p)}return}return h(a,i,f)}},{key:"prepareLoading",value:function(a,i){var l=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();typeof a=="string"&&(a=this.languageUtils.toResolveHierarchy(a)),typeof i=="string"&&(i=[i]);var u=this.queueLoad(a,i,s,o);if(!u.toLoad.length)return u.pending.length||o(),null;u.toLoad.forEach(function(c){l.loadOne(c)})}},{key:"load",value:function(a,i,l){this.prepareLoading(a,i,{},l)}},{key:"reload",value:function(a,i,l){this.prepareLoading(a,i,{reload:!0},l)}},{key:"loadOne",value:function(a){var i=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=a.split("|"),o=s[0],u=s[1];this.read(o,u,"read",void 0,void 0,function(c,f){c&&i.logger.warn("".concat(l,"loading namespace ").concat(u," for language ").concat(o," failed"),c),!c&&f&&i.logger.log("".concat(l,"loaded namespace ").concat(u," for language ").concat(o),f),i.loaded(a,c,f)})}},{key:"saveMissing",value:function(a,i,l,s,o){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(l,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){var f=Dy(Dy({},u),{},{isUpdate:o}),h=this.backend.create.bind(this.backend);if(h.length<6)try{var d;h.length===5?d=h(a,i,l,s,f):d=h(a,i,l,s),d&&typeof d.then=="function"?d.then(function(p){return c(null,p)}).catch(c):c(null,d)}catch(p){c(p)}else h(a,i,l,s,c,f)}!a||!a[0]||this.store.addResource(a[0],i,l,s)}}}]),r}(Ci);function Ny(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var r={};if(fn(t[1])==="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),fn(t[2])==="object"||fn(t[3])==="object"){var n=t[3]||t[2];Object.keys(n).forEach(function(a){r[a]=n[a]})}return r},interpolation:{escapeValue:!0,format:function(t,r,n,a){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function My(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ky(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Zn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ky(Object(r),!0).forEach(function(n){ca(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ky(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function F9(e){var t=A9();return function(){var n=la(e),a;if(t){var i=la(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Vu(this,a)}}function A9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function wc(){}function O9(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(r){typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}var Hf=function(e){H0(r,e);var t=F9(r);function r(){var n,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(Dn(this,r),n=t.call(this),V0&&Ci.call(Si(n)),n.options=My(a),n.services={},n.logger=aa,n.modules={external:[]},O9(Si(n)),i&&!n.isInitialized&&!a.isClone){if(!n.options.initImmediate)return n.init(a,i),Vu(n,Si(n));setTimeout(function(){n.init(a,i)},0)}return n}return Nn(r,[{key:"init",value:function(){var a=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(l=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=Ny();this.options=Zn(Zn(Zn({},s),this.options),My(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Zn(Zn({},s.interpolation),this.options.interpolation)),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);function o(v){return v?typeof v=="function"?new v:v:null}if(!this.options.isClone){this.modules.logger?aa.init(o(this.modules.logger),this.options):aa.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=E9);var c=new Ty(this.options);this.store=new f9(this.options.resources,this.options);var f=this.services;f.logger=aa,f.resourceStore=this.store,f.languageUtils=c,f.pluralResolver=new x9(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(f.formatter=o(u),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new y9(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new T9(o(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(v){for(var g=arguments.length,x=new Array(g>1?g-1:0),_=1;_<g;_++)x[_-1]=arguments[_];a.emit.apply(a,[v].concat(x))}),this.modules.languageDetector&&(f.languageDetector=o(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=o(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new by(this.services,this.options),this.translator.on("*",function(v){for(var g=arguments.length,x=new Array(g>1?g-1:0),_=1;_<g;_++)x[_-1]=arguments[_];a.emit.apply(a,[v].concat(x))}),this.modules.external.forEach(function(v){v.init&&v.init(a)})}if(this.format=this.options.interpolation.format,l||(l=wc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var d=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];d.forEach(function(v){a[v]=function(){var g;return(g=a.store)[v].apply(g,arguments)}});var p=["addResource","addResources","addResourceBundle","removeResourceBundle"];p.forEach(function(v){a[v]=function(){var g;return(g=a.store)[v].apply(g,arguments),a}});var m=go(),y=function(){var g=function(_,w){a.isInitialized&&!a.initializedStoreOnce&&a.logger.warn("init: i18next is already initialized. You should call init just once!"),a.isInitialized=!0,a.options.isClone||a.logger.log("initialized",a.options),a.emit("initialized",a.options),m.resolve(w),l(_,w)};if(a.languages&&a.options.compatibilityAPI!=="v1"&&!a.isInitialized)return g(null,a.t.bind(a));a.changeLanguage(a.options.lng,g)};return this.options.resources||!this.options.initImmediate?y():setTimeout(y,0),m}},{key:"loadResources",value:function(a){var i=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wc,s=l,o=typeof a=="string"?a:this.language;if(typeof a=="function"&&(s=a),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode")return s();var u=[],c=function(d){if(d){var p=i.services.languageUtils.toResolveHierarchy(d);p.forEach(function(m){u.indexOf(m)<0&&u.push(m)})}};if(o)c(o);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(h){return c(h)})}this.options.preload&&this.options.preload.forEach(function(h){return c(h)}),this.services.backendConnector.load(u,this.options.ns,function(h){!h&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(h)})}else s(null)}},{key:"reloadResources",value:function(a,i,l){var s=go();return a||(a=this.languages),i||(i=this.options.ns),l||(l=wc),this.services.backendConnector.reload(a,i,function(o){s.resolve(),l(o)}),s}},{key:"use",value:function(a){if(!a)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!a.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return a.type==="backend"&&(this.modules.backend=a),(a.type==="logger"||a.log&&a.warn&&a.error)&&(this.modules.logger=a),a.type==="languageDetector"&&(this.modules.languageDetector=a),a.type==="i18nFormat"&&(this.modules.i18nFormat=a),a.type==="postProcessor"&&NS.addPostProcessor(a),a.type==="formatter"&&(this.modules.formatter=a),a.type==="3rdParty"&&this.modules.external.push(a),this}},{key:"setResolvedLanguage",value:function(a){if(!(!a||!this.languages)&&!(["cimode","dev"].indexOf(a)>-1))for(var i=0;i<this.languages.length;i++){var l=this.languages[i];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}},{key:"changeLanguage",value:function(a,i){var l=this;this.isLanguageChangingTo=a;var s=go();this.emit("languageChanging",a);var o=function(h){l.language=h,l.languages=l.services.languageUtils.toResolveHierarchy(h),l.resolvedLanguage=void 0,l.setResolvedLanguage(h)},u=function(h,d){d?(o(d),l.translator.changeLanguage(d),l.isLanguageChangingTo=void 0,l.emit("languageChanged",d),l.logger.log("languageChanged",d)):l.isLanguageChangingTo=void 0,s.resolve(function(){return l.t.apply(l,arguments)}),i&&i(h,function(){return l.t.apply(l,arguments)})},c=function(h){!a&&!h&&l.services.languageDetector&&(h=[]);var d=typeof h=="string"?h:l.services.languageUtils.getBestMatchFromCodes(h);d&&(l.language||o(d),l.translator.language||l.translator.changeLanguage(d),l.services.languageDetector&&l.services.languageDetector.cacheUserLanguage&&l.services.languageDetector.cacheUserLanguage(d)),l.loadResources(d,function(p){u(p,d)})};return!a&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!a&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(a),s}},{key:"getFixedT",value:function(a,i,l){var s=this,o=function u(c,f){var h;if(fn(f)!=="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),m=2;m<d;m++)p[m-2]=arguments[m];h=s.options.overloadTranslationOptionHandler([c,f].concat(p))}else h=Zn({},f);h.lng=h.lng||u.lng,h.lngs=h.lngs||u.lngs,h.ns=h.ns||u.ns,h.keyPrefix=h.keyPrefix||l||u.keyPrefix;var y=s.options.keySeparator||".",v;return h.keyPrefix&&Array.isArray(c)?v=c.map(function(g){return"".concat(h.keyPrefix).concat(y).concat(g)}):v=h.keyPrefix?"".concat(h.keyPrefix).concat(y).concat(c):c,s.t(v,h)};return typeof a=="string"?o.lng=a:o.lngs=a,o.ns=i,o.keyPrefix=l,o}},{key:"t",value:function(){var a;return this.translator&&(a=this.translator).translate.apply(a,arguments)}},{key:"exists",value:function(){var a;return this.translator&&(a=this.translator).exists.apply(a,arguments)}},{key:"setDefaultNamespace",value:function(a){this.options.defaultNS=a}},{key:"hasLoadedNamespace",value:function(a){var i=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=l.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var c=function(d,p){var m=i.services.backendConnector.state["".concat(d,"|").concat(p)];return m===-1||m===2};if(l.precheck){var f=l.precheck(this,c);if(f!==void 0)return f}return!!(this.hasResourceBundle(s,a)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(s,a)&&(!o||c(u,a)))}},{key:"loadNamespaces",value:function(a,i){var l=this,s=go();return this.options.ns?(typeof a=="string"&&(a=[a]),a.forEach(function(o){l.options.ns.indexOf(o)<0&&l.options.ns.push(o)}),this.loadResources(function(o){s.resolve(),i&&i(o)}),s):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(a,i){var l=go();typeof a=="string"&&(a=[a]);var s=this.options.preload||[],o=a.filter(function(u){return s.indexOf(u)<0});return o.length?(this.options.preload=s.concat(o),this.loadResources(function(u){l.resolve(),i&&i(u)}),l):(i&&i(),Promise.resolve())}},{key:"dir",value:function(a){if(a||(a=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!a)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],l=this.services&&this.services.languageUtils||new Ty(Ny());return i.indexOf(l.getLanguagePartFromCode(a))>-1||a.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var a=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wc,s=Zn(Zn(Zn({},this.options),i),{isClone:!0}),o=new r(s);(i.debug!==void 0||i.prefix!==void 0)&&(o.logger=o.logger.clone(i));var u=["store","services","language"];return u.forEach(function(c){o[c]=a[c]}),o.services=Zn({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new by(o.services,o.options),o.translator.on("*",function(c){for(var f=arguments.length,h=new Array(f>1?f-1:0),d=1;d<f;d++)h[d-1]=arguments[d];o.emit.apply(o,[c].concat(h))}),o.init(s,l),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),r}(Ci);ca(Hf,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Hf(e,t)});var Br=Hf.createInstance();Br.createInstance=Hf.createInstance;Br.createInstance;Br.dir;Br.init;Br.loadResources;Br.reloadResources;Br.use;Br.changeLanguage;Br.getFixedT;Br.t;Br.exists;Br.setDefaultNamespace;Br.hasLoadedNamespace;Br.loadNamespaces;Br.loadLanguages;var MS=[],C9=MS.forEach,R9=MS.slice;function D9(e){return C9.call(R9.call(arguments,1),function(t){if(t)for(var r in t)e[r]===void 0&&(e[r]=t[r])}),e}var Ly=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,N9=function(t,r,n){var a=n||{};a.path=a.path||"/";var i=encodeURIComponent(r),l="".concat(t,"=").concat(i);if(a.maxAge>0){var s=a.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");l+="; Max-Age=".concat(Math.floor(s))}if(a.domain){if(!Ly.test(a.domain))throw new TypeError("option domain is invalid");l+="; Domain=".concat(a.domain)}if(a.path){if(!Ly.test(a.path))throw new TypeError("option path is invalid");l+="; Path=".concat(a.path)}if(a.expires){if(typeof a.expires.toUTCString!="function")throw new TypeError("option expires is invalid");l+="; Expires=".concat(a.expires.toUTCString())}if(a.httpOnly&&(l+="; HttpOnly"),a.secure&&(l+="; Secure"),a.sameSite){var o=typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite;switch(o){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},By={create:function(t,r,n,a){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+n*60*1e3)),a&&(i.domain=a),document.cookie=N9(t,encodeURIComponent(r),i)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),a=0;a<n.length;a++){for(var i=n[a];i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(r)===0)return i.substring(r.length,i.length)}return null},remove:function(t){this.create(t,"",-1)}},M9={name:"cookie",lookup:function(t){var r;if(t.lookupCookie&&typeof document<"u"){var n=By.read(t.lookupCookie);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupCookie&&typeof document<"u"&&By.create(r.lookupCookie,t,r.cookieMinutes,r.cookieDomain,r.cookieOptions)}},k9={name:"querystring",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var a=n.substring(1),i=a.split("&"),l=0;l<i.length;l++){var s=i[l].indexOf("=");if(s>0){var o=i[l].substring(0,s);o===t.lookupQuerystring&&(r=i[l].substring(s+1))}}}return r}},xo=null,Py=function(){if(xo!==null)return xo;try{xo=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{xo=!1}return xo},L9={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&Py()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&Py()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},yo=null,zy=function(){if(yo!==null)return yo;try{yo=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{yo=!1}return yo},B9={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&zy()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&zy()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},P9={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)r.push(navigator.languages[n]);navigator.userLanguage&&r.push(navigator.userLanguage),navigator.language&&r.push(navigator.language)}return r.length>0?r:void 0}},z9={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},U9={name:"path",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},j9={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}},kS=!1;try{document.cookie,kS=!0}catch{}var LS=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];kS||LS.splice(1,1);function I9(){return{order:LS,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var H9=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dn(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return Nn(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r||{languageUtils:{}},this.options=D9(n,this.options||{},I9()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(i){return i.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(M9),this.addDetector(k9),this.addDetector(L9),this.addDetector(B9),this.addDetector(P9),this.addDetector(z9),this.addDetector(U9),this.addDetector(j9)}},{key:"addDetector",value:function(r){return this.detectors[r.name]=r,this}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var a=[];return r.forEach(function(i){if(n.detectors[i]){var l=n.detectors[i].lookup(n.options);l&&typeof l=="string"&&(l=[l]),l&&(a=a.concat(l))}}),a=a.map(function(i){return n.options.convertDetectedLanguage(i)}),this.services.languageUtils.getBestMatchFromCodes?a:a.length>0?a[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var a=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(i){a.detectors[i]&&a.detectors[i].cacheUserLanguage(r,a.options)}))}}])}();H9.type="languageDetector";function Ep(e){"@babel/helpers - typeof";return Ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ep(e)}function BS(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":Ep(XMLHttpRequest))==="object"}function V9(e){return!!e&&typeof e.then=="function"}function G9(e){return V9(e)?e:Promise.resolve(e)}function $9(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wp={exports:{}},Sc={exports:{}},Uy;function X9(){return Uy||(Uy=1,function(e,t){var r=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Dr<"u"&&Dr,n=function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i}();(function(i){(function(l){var s=typeof i<"u"&&i||typeof self<"u"&&self||typeof s<"u"&&s,o={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(L){return L&&DataView.prototype.isPrototypeOf(L)}if(o.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(L){return L&&c.indexOf(Object.prototype.toString.call(L))>-1};function h(L){if(typeof L!="string"&&(L=String(L)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(L)||L==="")throw new TypeError('Invalid character in header field name: "'+L+'"');return L.toLowerCase()}function d(L){return typeof L!="string"&&(L=String(L)),L}function p(L){var U={next:function(){var ee=L.shift();return{done:ee===void 0,value:ee}}};return o.iterable&&(U[Symbol.iterator]=function(){return U}),U}function m(L){this.map={},L instanceof m?L.forEach(function(U,ee){this.append(ee,U)},this):Array.isArray(L)?L.forEach(function(U){this.append(U[0],U[1])},this):L&&Object.getOwnPropertyNames(L).forEach(function(U){this.append(U,L[U])},this)}m.prototype.append=function(L,U){L=h(L),U=d(U);var ee=this.map[L];this.map[L]=ee?ee+", "+U:U},m.prototype.delete=function(L){delete this.map[h(L)]},m.prototype.get=function(L){return L=h(L),this.has(L)?this.map[L]:null},m.prototype.has=function(L){return this.map.hasOwnProperty(h(L))},m.prototype.set=function(L,U){this.map[h(L)]=d(U)},m.prototype.forEach=function(L,U){for(var ee in this.map)this.map.hasOwnProperty(ee)&&L.call(U,this.map[ee],ee,this)},m.prototype.keys=function(){var L=[];return this.forEach(function(U,ee){L.push(ee)}),p(L)},m.prototype.values=function(){var L=[];return this.forEach(function(U){L.push(U)}),p(L)},m.prototype.entries=function(){var L=[];return this.forEach(function(U,ee){L.push([ee,U])}),p(L)},o.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function y(L){if(L.bodyUsed)return Promise.reject(new TypeError("Already read"));L.bodyUsed=!0}function v(L){return new Promise(function(U,ee){L.onload=function(){U(L.result)},L.onerror=function(){ee(L.error)}})}function g(L){var U=new FileReader,ee=v(U);return U.readAsArrayBuffer(L),ee}function x(L){var U=new FileReader,ee=v(U);return U.readAsText(L),ee}function _(L){for(var U=new Uint8Array(L),ee=new Array(U.length),oe=0;oe<U.length;oe++)ee[oe]=String.fromCharCode(U[oe]);return ee.join("")}function w(L){if(L.slice)return L.slice(0);var U=new Uint8Array(L.byteLength);return U.set(new Uint8Array(L)),U.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(L){this.bodyUsed=this.bodyUsed,this._bodyInit=L,L?typeof L=="string"?this._bodyText=L:o.blob&&Blob.prototype.isPrototypeOf(L)?this._bodyBlob=L:o.formData&&FormData.prototype.isPrototypeOf(L)?this._bodyFormData=L:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(L)?this._bodyText=L.toString():o.arrayBuffer&&o.blob&&u(L)?(this._bodyArrayBuffer=w(L.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(L)||f(L))?this._bodyArrayBuffer=w(L):this._bodyText=L=Object.prototype.toString.call(L):this._bodyText="",this.headers.get("content-type")||(typeof L=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(L)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var L=y(this);if(L)return L;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var L=y(this);return L||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(g)}),this.text=function(){var L=y(this);if(L)return L;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(R)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(L){var U=L.toUpperCase();return E.indexOf(U)>-1?U:L}function F(L,U){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');U=U||{};var ee=U.body;if(L instanceof F){if(L.bodyUsed)throw new TypeError("Already read");this.url=L.url,this.credentials=L.credentials,U.headers||(this.headers=new m(L.headers)),this.method=L.method,this.mode=L.mode,this.signal=L.signal,!ee&&L._bodyInit!=null&&(ee=L._bodyInit,L.bodyUsed=!0)}else this.url=String(L);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new m(U.headers)),this.method=O(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&ee)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(ee),(this.method==="GET"||this.method==="HEAD")&&(U.cache==="no-store"||U.cache==="no-cache")){var oe=/([?&])_=[^&]*/;if(oe.test(this.url))this.url=this.url.replace(oe,"$1_="+new Date().getTime());else{var de=/\?/;this.url+=(de.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}F.prototype.clone=function(){return new F(this,{body:this._bodyInit})};function R(L){var U=new FormData;return L.trim().split("&").forEach(function(ee){if(ee){var oe=ee.split("="),de=oe.shift().replace(/\+/g," "),fe=oe.join("=").replace(/\+/g," ");U.append(decodeURIComponent(de),decodeURIComponent(fe))}}),U}function z(L){var U=new m,ee=L.replace(/\r?\n[\t ]+/g," ");return ee.split("\r").map(function(oe){return oe.indexOf(`
`)===0?oe.substr(1,oe.length):oe}).forEach(function(oe){var de=oe.split(":"),fe=de.shift().trim();if(fe){var Fe=de.join(":").trim();U.append(fe,Fe)}}),U}T.call(F.prototype);function j(L,U){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText=U.statusText===void 0?"":""+U.statusText,this.headers=new m(U.headers),this.url=U.url||"",this._initBody(L)}T.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},j.error=function(){var L=new j(null,{status:0,statusText:""});return L.type="error",L};var G=[301,302,303,307,308];j.redirect=function(L,U){if(G.indexOf(U)===-1)throw new RangeError("Invalid status code");return new j(null,{status:U,headers:{location:L}})},l.DOMException=s.DOMException;try{new l.DOMException}catch{l.DOMException=function(U,ee){this.message=U,this.name=ee;var oe=Error(U);this.stack=oe.stack},l.DOMException.prototype=Object.create(Error.prototype),l.DOMException.prototype.constructor=l.DOMException}function ce(L,U){return new Promise(function(ee,oe){var de=new F(L,U);if(de.signal&&de.signal.aborted)return oe(new l.DOMException("Aborted","AbortError"));var fe=new XMLHttpRequest;function Fe(){fe.abort()}fe.onload=function(){var H={status:fe.status,statusText:fe.statusText,headers:z(fe.getAllResponseHeaders()||"")};H.url="responseURL"in fe?fe.responseURL:H.headers.get("X-Request-URL");var I="response"in fe?fe.response:fe.responseText;setTimeout(function(){ee(new j(I,H))},0)},fe.onerror=function(){setTimeout(function(){oe(new TypeError("Network request failed"))},0)},fe.ontimeout=function(){setTimeout(function(){oe(new TypeError("Network request failed"))},0)},fe.onabort=function(){setTimeout(function(){oe(new l.DOMException("Aborted","AbortError"))},0)};function B(H){try{return H===""&&s.location.href?s.location.href:H}catch{return H}}fe.open(de.method,B(de.url),!0),de.credentials==="include"?fe.withCredentials=!0:de.credentials==="omit"&&(fe.withCredentials=!1),"responseType"in fe&&(o.blob?fe.responseType="blob":o.arrayBuffer&&de.headers.get("Content-Type")&&de.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(fe.responseType="arraybuffer")),U&&typeof U.headers=="object"&&!(U.headers instanceof m)?Object.getOwnPropertyNames(U.headers).forEach(function(H){fe.setRequestHeader(H,d(U.headers[H]))}):de.headers.forEach(function(H,I){fe.setRequestHeader(I,H)}),de.signal&&(de.signal.addEventListener("abort",Fe),fe.onreadystatechange=function(){fe.readyState===4&&de.signal.removeEventListener("abort",Fe)}),fe.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return ce.polyfill=!0,s.fetch||(s.fetch=ce,s.Headers=m,s.Request=F,s.Response=j),l.Headers=m,l.Request=F,l.Response=j,l.fetch=ce,l})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var a=r.fetch?r:n;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(Sc,Sc.exports)),Sc.exports}(function(e,t){var r=typeof fetch=="function"?fetch:void 0;if(typeof Dr<"u"&&Dr.fetch?r=Dr.fetch:typeof window<"u"&&window.fetch&&(r=window.fetch),typeof $9<"u"&&typeof window>"u"){var n=r||X9();n.default&&(n=n.default),t.default=n,e.exports=t.default}})(wp,wp.exports);var PS=wp.exports;const zS=js(PS),jy=_E({__proto__:null,default:zS},[PS]);function Iy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Hy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Iy(Object(r),!0).forEach(function(n){Y9(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Iy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Y9(e,t,r){return(t=q9(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q9(e){var t=K9(e,"string");return pl(t)=="symbol"?t:t+""}function K9(e,t){if(pl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(pl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pl(e){"@babel/helpers - typeof";return pl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pl(e)}var Ri=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?Ri=global.fetch:typeof window<"u"&&window.fetch&&(Ri=window.fetch);var xu;BS()&&(typeof global<"u"&&global.XMLHttpRequest?xu=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(xu=window.XMLHttpRequest));var Vf;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Vf=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Vf=window.ActiveXObject));!Ri&&jy&&!xu&&!Vf&&(Ri=zS||jy);typeof Ri!="function"&&(Ri=void 0);var Sp=function(t,r){if(r&&pl(r)==="object"){var n="";for(var a in r)n+="&"+encodeURIComponent(a)+"="+encodeURIComponent(r[a]);if(!n)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+n.slice(1)}return t},Vy=function(t,r,n,a){var i=function(o){if(!o.ok)return n(o.statusText||"Error",{status:o.status});o.text().then(function(u){n(null,{status:o.status,data:u})}).catch(n)};if(a){var l=a(t,r);if(l instanceof Promise){l.then(i).catch(n);return}}typeof fetch=="function"?fetch(t,r).then(i).catch(n):Ri(t,r).then(i).catch(n)},Gy=!1,Z9=function(t,r,n,a){t.queryStringParams&&(r=Sp(r,t.queryStringParams));var i=Hy({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),n&&(i["Content-Type"]="application/json");var l=typeof t.requestOptions=="function"?t.requestOptions(n):t.requestOptions,s=Hy({method:n?"POST":"GET",body:n?t.stringify(n):void 0,headers:i},Gy?{}:l),o=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{Vy(r,s,a,o)}catch(u){if(!l||Object.keys(l).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(l).forEach(function(c){delete s[c]}),Vy(r,s,a,o),Gy=!0}catch(c){a(c)}}},W9=function(t,r,n,a){n&&pl(n)==="object"&&(n=Sp("",n).slice(1)),t.queryStringParams&&(r=Sp(r,t.queryStringParams));try{var i;xu?i=new xu:i=new Vf("MSXML2.XMLHTTP.3.0"),i.open(n?"POST":"GET",r,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,n&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var l=t.customHeaders;if(l=typeof l=="function"?l():l,l)for(var s in l)i.setRequestHeader(s,l[s]);i.onreadystatechange=function(){i.readyState>3&&a(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(n)}catch(o){console&&console.log(o)}},Q9=function(t,r,n,a){if(typeof n=="function"&&(a=n,n=void 0),a=a||function(){},Ri&&r.indexOf("file:")!==0)return Z9(t,r,n,a);if(BS()||typeof ActiveXObject=="function")return W9(t,r,n,a);a(new Error("No fetch and no xhr implementation found!"))};function zs(e){"@babel/helpers - typeof";return zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zs(e)}function $y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function td(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$y(Object(r),!0).forEach(function(n){US(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$y(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,jS(n.key),n)}}function tD(e,t,r){return t&&eD(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function US(e,t,r){return(t=jS(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jS(e){var t=rD(e,"string");return zs(t)=="symbol"?t:t+""}function rD(e,t){if(zs(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(zs(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var nD=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(r){return JSON.parse(r)},stringify:JSON.stringify,parsePayload:function(r,n,a){return US({},n,a||"")},parseLoadPayload:function(r,n){},request:Q9,reloadInterval:typeof window<"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},aD=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};J9(this,e),this.services=t,this.options=r,this.allOptions=n,this.type="backend",this.init(t,r,n)}return tD(e,[{key:"init",value:function(r){var n=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=r,this.options=td(td(td({},nD()),this.options||{}),a),this.allOptions=i,this.services&&this.options.reloadInterval){var l=setInterval(function(){return n.reload()},this.options.reloadInterval);zs(l)==="object"&&typeof l.unref=="function"&&l.unref()}}},{key:"readMulti",value:function(r,n,a){this._readAny(r,r,n,n,a)}},{key:"read",value:function(r,n,a){this._readAny([r],r,[n],n,a)}},{key:"_readAny",value:function(r,n,a,i,l){var s=this,o=this.options.loadPath;typeof this.options.loadPath=="function"&&(o=this.options.loadPath(r,a)),o=G9(o),o.then(function(u){if(!u)return l(null,{});var c=s.services.interpolator.interpolate(u,{lng:r.join("+"),ns:a.join("+")});s.loadUrl(c,l,n,i)})}},{key:"loadUrl",value:function(r,n,a,i){var l=this,s=typeof a=="string"?[a]:a,o=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(s,o);this.options.request(this.options,r,u,function(c,f){if(f&&(f.status>=500&&f.status<600||!f.status))return n("failed loading "+r+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return n("failed loading "+r+"; status code: "+f.status,!1);if(!f&&c&&c.message){var h=c.message.toLowerCase(),d=["failed","fetch","network","load"].find(function(y){return h.indexOf(y)>-1});if(d)return n("failed loading "+r+": "+c.message,!0)}if(c)return n(c,!1);var p,m;try{typeof f.data=="string"?p=l.options.parse(f.data,a,i):p=f.data}catch{m="failed parsing "+r+" to json"}if(m)return n(m,!1);n(null,p)})}},{key:"create",value:function(r,n,a,i,l){var s=this;if(this.options.addPath){typeof r=="string"&&(r=[r]);var o=this.options.parsePayload(n,a,i),u=0,c=[],f=[];r.forEach(function(h){var d=s.options.addPath;typeof s.options.addPath=="function"&&(d=s.options.addPath(h,n));var p=s.services.interpolator.interpolate(d,{lng:h,ns:n});s.options.request(s.options,p,o,function(m,y){u+=1,c.push(m),f.push(y),u===r.length&&typeof l=="function"&&l(c,f)})})}}},{key:"reload",value:function(){var r=this,n=this.services,a=n.backendConnector,i=n.languageUtils,l=n.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var o=[],u=function(f){var h=i.toResolveHierarchy(f);h.forEach(function(d){o.indexOf(d)<0&&o.push(d)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(c){return u(c)}),o.forEach(function(c){r.allOptions.ns.forEach(function(f){a.read(c,f,"read",null,null,function(h,d){h&&l.warn("loading namespace ".concat(f," for language ").concat(c," failed"),h),!h&&d&&l.log("loaded namespace ".concat(f," for language ").concat(c),d),a.loaded("".concat(c,"|").concat(f),h,d)})})})}}}])}();aD.type="backend";var IS={exports:{}};/*
 * [js-sha512]{@link https://github.com/emn178/js-sha512}
 *
 * @version 0.8.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2018
 * @license MIT
 */(function(e){(function(){var t="input is invalid type",r="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA512_NO_WINDOW&&(n=!1);var i=!n&&typeof self=="object",l=!a.JS_SHA512_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;l?a=Dr:i&&(a=self);var s=!a.JS_SHA512_NO_COMMON_JS&&!0&&e.exports,o=!a.JS_SHA512_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",u="0123456789abcdef".split(""),c=[-2147483648,8388608,32768,128],f=[24,16,8,0],h=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],d=["hex","array","digest","arrayBuffer"],p=[];(a.JS_SHA512_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(T){return Object.prototype.toString.call(T)==="[object Array]"}),o&&(a.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(T){return typeof T=="object"&&T.buffer&&T.buffer.constructor===ArrayBuffer});var m=function(T,E){return function(O){return new x(E,!0).update(O)[T]()}},y=function(T){var E=m("hex",T);E.create=function(){return new x(T)},E.update=function(R){return E.create().update(R)};for(var O=0;O<d.length;++O){var F=d[O];E[F]=m(F,T)}return E},v=function(T,E){return function(O,F){return new _(O,E,!0).update(F)[T]()}},g=function(T){var E=v("hex",T);E.create=function(R){return new _(R,T)},E.update=function(R,z){return E.create(R).update(z)};for(var O=0;O<d.length;++O){var F=d[O];E[F]=v(F,T)}return E};function x(T,E){E?(p[0]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=p[16]=p[17]=p[18]=p[19]=p[20]=p[21]=p[22]=p[23]=p[24]=p[25]=p[26]=p[27]=p[28]=p[29]=p[30]=p[31]=p[32]=0,this.blocks=p):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],T==384?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):T==256?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):T==224?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=T,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}x.prototype.update=function(T){if(this.finalized)throw new Error(r);var E,O=typeof T;if(O!=="string"){if(O==="object"){if(T===null)throw new Error(t);if(o&&T.constructor===ArrayBuffer)T=new Uint8Array(T);else if(!Array.isArray(T)&&(!o||!ArrayBuffer.isView(T)))throw new Error(t)}else throw new Error(t);E=!0}for(var F,R=0,z,j=T.length,G=this.blocks;R<j;){if(this.hashed&&(this.hashed=!1,G[0]=this.block,G[1]=G[2]=G[3]=G[4]=G[5]=G[6]=G[7]=G[8]=G[9]=G[10]=G[11]=G[12]=G[13]=G[14]=G[15]=G[16]=G[17]=G[18]=G[19]=G[20]=G[21]=G[22]=G[23]=G[24]=G[25]=G[26]=G[27]=G[28]=G[29]=G[30]=G[31]=G[32]=0),E)for(z=this.start;R<j&&z<128;++R)G[z>>2]|=T[R]<<f[z++&3];else for(z=this.start;R<j&&z<128;++R)F=T.charCodeAt(R),F<128?G[z>>2]|=F<<f[z++&3]:F<2048?(G[z>>2]|=(192|F>>6)<<f[z++&3],G[z>>2]|=(128|F&63)<<f[z++&3]):F<55296||F>=57344?(G[z>>2]|=(224|F>>12)<<f[z++&3],G[z>>2]|=(128|F>>6&63)<<f[z++&3],G[z>>2]|=(128|F&63)<<f[z++&3]):(F=65536+((F&1023)<<10|T.charCodeAt(++R)&1023),G[z>>2]|=(240|F>>18)<<f[z++&3],G[z>>2]|=(128|F>>12&63)<<f[z++&3],G[z>>2]|=(128|F>>6&63)<<f[z++&3],G[z>>2]|=(128|F&63)<<f[z++&3]);this.lastByteIndex=z,this.bytes+=z-this.start,z>=128?(this.block=G[32],this.start=z-128,this.hash(),this.hashed=!0):this.start=z}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},x.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var T=this.blocks,E=this.lastByteIndex;T[32]=this.block,T[E>>2]|=c[E&3],this.block=T[32],E>=112&&(this.hashed||this.hash(),T[0]=this.block,T[1]=T[2]=T[3]=T[4]=T[5]=T[6]=T[7]=T[8]=T[9]=T[10]=T[11]=T[12]=T[13]=T[14]=T[15]=T[16]=T[17]=T[18]=T[19]=T[20]=T[21]=T[22]=T[23]=T[24]=T[25]=T[26]=T[27]=T[28]=T[29]=T[30]=T[31]=T[32]=0),T[30]=this.hBytes<<3|this.bytes>>>29,T[31]=this.bytes<<3,this.hash()}},x.prototype.hash=function(){var T=this.h0h,E=this.h0l,O=this.h1h,F=this.h1l,R=this.h2h,z=this.h2l,j=this.h3h,G=this.h3l,ce=this.h4h,L=this.h4l,U=this.h5h,ee=this.h5l,oe=this.h6h,de=this.h6l,fe=this.h7h,Fe=this.h7l,B=this.blocks,H,I,V,re,ve,Q,W,q,me,Ce,Ge,Re,ot,Ie,_e,ht,nt,M,X,Y,ae,le,ne,Se,Ne;for(H=32;H<160;H+=2)Y=B[H-30],ae=B[H-29],I=(Y>>>1|ae<<31)^(Y>>>8|ae<<24)^Y>>>7,V=(ae>>>1|Y<<31)^(ae>>>8|Y<<24)^(ae>>>7|Y<<25),Y=B[H-4],ae=B[H-3],re=(Y>>>19|ae<<13)^(ae>>>29|Y<<3)^Y>>>6,ve=(ae>>>19|Y<<13)^(Y>>>29|ae<<3)^(ae>>>6|Y<<26),Y=B[H-32],ae=B[H-31],le=B[H-14],ne=B[H-13],Q=(ne&65535)+(ae&65535)+(V&65535)+(ve&65535),W=(ne>>>16)+(ae>>>16)+(V>>>16)+(ve>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(I&65535)+(re&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(I>>>16)+(re>>>16)+(q>>>16),B[H]=me<<16|q&65535,B[H+1]=W<<16|Q&65535;var Oe=T,qe=E,xt=O,at=F,Ct=R,_t=z,St=j,kt=G,Lt=ce,Yt=L,Rt=U,er=ee,tr=oe,ur=de,cr=fe,Bt=Fe;for(ht=xt&Ct,nt=at&_t,H=0;H<160;H+=8)I=(Oe>>>28|qe<<4)^(qe>>>2|Oe<<30)^(qe>>>7|Oe<<25),V=(qe>>>28|Oe<<4)^(Oe>>>2|qe<<30)^(Oe>>>7|qe<<25),re=(Lt>>>14|Yt<<18)^(Lt>>>18|Yt<<14)^(Yt>>>9|Lt<<23),ve=(Yt>>>14|Lt<<18)^(Yt>>>18|Lt<<14)^(Lt>>>9|Yt<<23),Ce=Oe&xt,Ge=qe&at,M=Ce^Oe&Ct^ht,X=Ge^qe&_t^nt,Se=Lt&Rt^~Lt&tr,Ne=Yt&er^~Yt&ur,Y=B[H],ae=B[H+1],le=h[H],ne=h[H+1],Q=(ne&65535)+(ae&65535)+(Ne&65535)+(ve&65535)+(Bt&65535),W=(ne>>>16)+(ae>>>16)+(Ne>>>16)+(ve>>>16)+(Bt>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(Se&65535)+(re&65535)+(cr&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(Se>>>16)+(re>>>16)+(cr>>>16)+(q>>>16),Y=me<<16|q&65535,ae=W<<16|Q&65535,Q=(X&65535)+(V&65535),W=(X>>>16)+(V>>>16)+(Q>>>16),q=(M&65535)+(I&65535)+(W>>>16),me=(M>>>16)+(I>>>16)+(q>>>16),le=me<<16|q&65535,ne=W<<16|Q&65535,Q=(kt&65535)+(ae&65535),W=(kt>>>16)+(ae>>>16)+(Q>>>16),q=(St&65535)+(Y&65535)+(W>>>16),me=(St>>>16)+(Y>>>16)+(q>>>16),cr=me<<16|q&65535,Bt=W<<16|Q&65535,Q=(ne&65535)+(ae&65535),W=(ne>>>16)+(ae>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(q>>>16),St=me<<16|q&65535,kt=W<<16|Q&65535,I=(St>>>28|kt<<4)^(kt>>>2|St<<30)^(kt>>>7|St<<25),V=(kt>>>28|St<<4)^(St>>>2|kt<<30)^(St>>>7|kt<<25),re=(cr>>>14|Bt<<18)^(cr>>>18|Bt<<14)^(Bt>>>9|cr<<23),ve=(Bt>>>14|cr<<18)^(Bt>>>18|cr<<14)^(cr>>>9|Bt<<23),Re=St&Oe,ot=kt&qe,M=Re^St&xt^Ce,X=ot^kt&at^Ge,Se=cr&Lt^~cr&Rt,Ne=Bt&Yt^~Bt&er,Y=B[H+2],ae=B[H+3],le=h[H+2],ne=h[H+3],Q=(ne&65535)+(ae&65535)+(Ne&65535)+(ve&65535)+(ur&65535),W=(ne>>>16)+(ae>>>16)+(Ne>>>16)+(ve>>>16)+(ur>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(Se&65535)+(re&65535)+(tr&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(Se>>>16)+(re>>>16)+(tr>>>16)+(q>>>16),Y=me<<16|q&65535,ae=W<<16|Q&65535,Q=(X&65535)+(V&65535),W=(X>>>16)+(V>>>16)+(Q>>>16),q=(M&65535)+(I&65535)+(W>>>16),me=(M>>>16)+(I>>>16)+(q>>>16),le=me<<16|q&65535,ne=W<<16|Q&65535,Q=(_t&65535)+(ae&65535),W=(_t>>>16)+(ae>>>16)+(Q>>>16),q=(Ct&65535)+(Y&65535)+(W>>>16),me=(Ct>>>16)+(Y>>>16)+(q>>>16),tr=me<<16|q&65535,ur=W<<16|Q&65535,Q=(ne&65535)+(ae&65535),W=(ne>>>16)+(ae>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(q>>>16),Ct=me<<16|q&65535,_t=W<<16|Q&65535,I=(Ct>>>28|_t<<4)^(_t>>>2|Ct<<30)^(_t>>>7|Ct<<25),V=(_t>>>28|Ct<<4)^(Ct>>>2|_t<<30)^(Ct>>>7|_t<<25),re=(tr>>>14|ur<<18)^(tr>>>18|ur<<14)^(ur>>>9|tr<<23),ve=(ur>>>14|tr<<18)^(ur>>>18|tr<<14)^(tr>>>9|ur<<23),Ie=Ct&St,_e=_t&kt,M=Ie^Ct&Oe^Re,X=_e^_t&qe^ot,Se=tr&cr^~tr&Lt,Ne=ur&Bt^~ur&Yt,Y=B[H+4],ae=B[H+5],le=h[H+4],ne=h[H+5],Q=(ne&65535)+(ae&65535)+(Ne&65535)+(ve&65535)+(er&65535),W=(ne>>>16)+(ae>>>16)+(Ne>>>16)+(ve>>>16)+(er>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(Se&65535)+(re&65535)+(Rt&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(Se>>>16)+(re>>>16)+(Rt>>>16)+(q>>>16),Y=me<<16|q&65535,ae=W<<16|Q&65535,Q=(X&65535)+(V&65535),W=(X>>>16)+(V>>>16)+(Q>>>16),q=(M&65535)+(I&65535)+(W>>>16),me=(M>>>16)+(I>>>16)+(q>>>16),le=me<<16|q&65535,ne=W<<16|Q&65535,Q=(at&65535)+(ae&65535),W=(at>>>16)+(ae>>>16)+(Q>>>16),q=(xt&65535)+(Y&65535)+(W>>>16),me=(xt>>>16)+(Y>>>16)+(q>>>16),Rt=me<<16|q&65535,er=W<<16|Q&65535,Q=(ne&65535)+(ae&65535),W=(ne>>>16)+(ae>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(q>>>16),xt=me<<16|q&65535,at=W<<16|Q&65535,I=(xt>>>28|at<<4)^(at>>>2|xt<<30)^(at>>>7|xt<<25),V=(at>>>28|xt<<4)^(xt>>>2|at<<30)^(xt>>>7|at<<25),re=(Rt>>>14|er<<18)^(Rt>>>18|er<<14)^(er>>>9|Rt<<23),ve=(er>>>14|Rt<<18)^(er>>>18|Rt<<14)^(Rt>>>9|er<<23),ht=xt&Ct,nt=at&_t,M=ht^xt&St^Ie,X=nt^at&kt^_e,Se=Rt&tr^~Rt&cr,Ne=er&ur^~er&Bt,Y=B[H+6],ae=B[H+7],le=h[H+6],ne=h[H+7],Q=(ne&65535)+(ae&65535)+(Ne&65535)+(ve&65535)+(Yt&65535),W=(ne>>>16)+(ae>>>16)+(Ne>>>16)+(ve>>>16)+(Yt>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(Se&65535)+(re&65535)+(Lt&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(Se>>>16)+(re>>>16)+(Lt>>>16)+(q>>>16),Y=me<<16|q&65535,ae=W<<16|Q&65535,Q=(X&65535)+(V&65535),W=(X>>>16)+(V>>>16)+(Q>>>16),q=(M&65535)+(I&65535)+(W>>>16),me=(M>>>16)+(I>>>16)+(q>>>16),le=me<<16|q&65535,ne=W<<16|Q&65535,Q=(qe&65535)+(ae&65535),W=(qe>>>16)+(ae>>>16)+(Q>>>16),q=(Oe&65535)+(Y&65535)+(W>>>16),me=(Oe>>>16)+(Y>>>16)+(q>>>16),Lt=me<<16|q&65535,Yt=W<<16|Q&65535,Q=(ne&65535)+(ae&65535),W=(ne>>>16)+(ae>>>16)+(Q>>>16),q=(le&65535)+(Y&65535)+(W>>>16),me=(le>>>16)+(Y>>>16)+(q>>>16),Oe=me<<16|q&65535,qe=W<<16|Q&65535;Q=(E&65535)+(qe&65535),W=(E>>>16)+(qe>>>16)+(Q>>>16),q=(T&65535)+(Oe&65535)+(W>>>16),me=(T>>>16)+(Oe>>>16)+(q>>>16),this.h0h=me<<16|q&65535,this.h0l=W<<16|Q&65535,Q=(F&65535)+(at&65535),W=(F>>>16)+(at>>>16)+(Q>>>16),q=(O&65535)+(xt&65535)+(W>>>16),me=(O>>>16)+(xt>>>16)+(q>>>16),this.h1h=me<<16|q&65535,this.h1l=W<<16|Q&65535,Q=(z&65535)+(_t&65535),W=(z>>>16)+(_t>>>16)+(Q>>>16),q=(R&65535)+(Ct&65535)+(W>>>16),me=(R>>>16)+(Ct>>>16)+(q>>>16),this.h2h=me<<16|q&65535,this.h2l=W<<16|Q&65535,Q=(G&65535)+(kt&65535),W=(G>>>16)+(kt>>>16)+(Q>>>16),q=(j&65535)+(St&65535)+(W>>>16),me=(j>>>16)+(St>>>16)+(q>>>16),this.h3h=me<<16|q&65535,this.h3l=W<<16|Q&65535,Q=(L&65535)+(Yt&65535),W=(L>>>16)+(Yt>>>16)+(Q>>>16),q=(ce&65535)+(Lt&65535)+(W>>>16),me=(ce>>>16)+(Lt>>>16)+(q>>>16),this.h4h=me<<16|q&65535,this.h4l=W<<16|Q&65535,Q=(ee&65535)+(er&65535),W=(ee>>>16)+(er>>>16)+(Q>>>16),q=(U&65535)+(Rt&65535)+(W>>>16),me=(U>>>16)+(Rt>>>16)+(q>>>16),this.h5h=me<<16|q&65535,this.h5l=W<<16|Q&65535,Q=(de&65535)+(ur&65535),W=(de>>>16)+(ur>>>16)+(Q>>>16),q=(oe&65535)+(tr&65535)+(W>>>16),me=(oe>>>16)+(tr>>>16)+(q>>>16),this.h6h=me<<16|q&65535,this.h6l=W<<16|Q&65535,Q=(Fe&65535)+(Bt&65535),W=(Fe>>>16)+(Bt>>>16)+(Q>>>16),q=(fe&65535)+(cr&65535)+(W>>>16),me=(fe>>>16)+(cr>>>16)+(q>>>16),this.h7h=me<<16|q&65535,this.h7l=W<<16|Q&65535},x.prototype.hex=function(){this.finalize();var T=this.h0h,E=this.h0l,O=this.h1h,F=this.h1l,R=this.h2h,z=this.h2l,j=this.h3h,G=this.h3l,ce=this.h4h,L=this.h4l,U=this.h5h,ee=this.h5l,oe=this.h6h,de=this.h6l,fe=this.h7h,Fe=this.h7l,B=this.bits,H=u[T>>28&15]+u[T>>24&15]+u[T>>20&15]+u[T>>16&15]+u[T>>12&15]+u[T>>8&15]+u[T>>4&15]+u[T&15]+u[E>>28&15]+u[E>>24&15]+u[E>>20&15]+u[E>>16&15]+u[E>>12&15]+u[E>>8&15]+u[E>>4&15]+u[E&15]+u[O>>28&15]+u[O>>24&15]+u[O>>20&15]+u[O>>16&15]+u[O>>12&15]+u[O>>8&15]+u[O>>4&15]+u[O&15]+u[F>>28&15]+u[F>>24&15]+u[F>>20&15]+u[F>>16&15]+u[F>>12&15]+u[F>>8&15]+u[F>>4&15]+u[F&15]+u[R>>28&15]+u[R>>24&15]+u[R>>20&15]+u[R>>16&15]+u[R>>12&15]+u[R>>8&15]+u[R>>4&15]+u[R&15]+u[z>>28&15]+u[z>>24&15]+u[z>>20&15]+u[z>>16&15]+u[z>>12&15]+u[z>>8&15]+u[z>>4&15]+u[z&15]+u[j>>28&15]+u[j>>24&15]+u[j>>20&15]+u[j>>16&15]+u[j>>12&15]+u[j>>8&15]+u[j>>4&15]+u[j&15];return B>=256&&(H+=u[G>>28&15]+u[G>>24&15]+u[G>>20&15]+u[G>>16&15]+u[G>>12&15]+u[G>>8&15]+u[G>>4&15]+u[G&15]),B>=384&&(H+=u[ce>>28&15]+u[ce>>24&15]+u[ce>>20&15]+u[ce>>16&15]+u[ce>>12&15]+u[ce>>8&15]+u[ce>>4&15]+u[ce&15]+u[L>>28&15]+u[L>>24&15]+u[L>>20&15]+u[L>>16&15]+u[L>>12&15]+u[L>>8&15]+u[L>>4&15]+u[L&15]+u[U>>28&15]+u[U>>24&15]+u[U>>20&15]+u[U>>16&15]+u[U>>12&15]+u[U>>8&15]+u[U>>4&15]+u[U&15]+u[ee>>28&15]+u[ee>>24&15]+u[ee>>20&15]+u[ee>>16&15]+u[ee>>12&15]+u[ee>>8&15]+u[ee>>4&15]+u[ee&15]),B==512&&(H+=u[oe>>28&15]+u[oe>>24&15]+u[oe>>20&15]+u[oe>>16&15]+u[oe>>12&15]+u[oe>>8&15]+u[oe>>4&15]+u[oe&15]+u[de>>28&15]+u[de>>24&15]+u[de>>20&15]+u[de>>16&15]+u[de>>12&15]+u[de>>8&15]+u[de>>4&15]+u[de&15]+u[fe>>28&15]+u[fe>>24&15]+u[fe>>20&15]+u[fe>>16&15]+u[fe>>12&15]+u[fe>>8&15]+u[fe>>4&15]+u[fe&15]+u[Fe>>28&15]+u[Fe>>24&15]+u[Fe>>20&15]+u[Fe>>16&15]+u[Fe>>12&15]+u[Fe>>8&15]+u[Fe>>4&15]+u[Fe&15]),H},x.prototype.toString=x.prototype.hex,x.prototype.digest=function(){this.finalize();var T=this.h0h,E=this.h0l,O=this.h1h,F=this.h1l,R=this.h2h,z=this.h2l,j=this.h3h,G=this.h3l,ce=this.h4h,L=this.h4l,U=this.h5h,ee=this.h5l,oe=this.h6h,de=this.h6l,fe=this.h7h,Fe=this.h7l,B=this.bits,H=[T>>24&255,T>>16&255,T>>8&255,T&255,E>>24&255,E>>16&255,E>>8&255,E&255,O>>24&255,O>>16&255,O>>8&255,O&255,F>>24&255,F>>16&255,F>>8&255,F&255,R>>24&255,R>>16&255,R>>8&255,R&255,z>>24&255,z>>16&255,z>>8&255,z&255,j>>24&255,j>>16&255,j>>8&255,j&255];return B>=256&&H.push(G>>24&255,G>>16&255,G>>8&255,G&255),B>=384&&H.push(ce>>24&255,ce>>16&255,ce>>8&255,ce&255,L>>24&255,L>>16&255,L>>8&255,L&255,U>>24&255,U>>16&255,U>>8&255,U&255,ee>>24&255,ee>>16&255,ee>>8&255,ee&255),B==512&&H.push(oe>>24&255,oe>>16&255,oe>>8&255,oe&255,de>>24&255,de>>16&255,de>>8&255,de&255,fe>>24&255,fe>>16&255,fe>>8&255,fe&255,Fe>>24&255,Fe>>16&255,Fe>>8&255,Fe&255),H},x.prototype.array=x.prototype.digest,x.prototype.arrayBuffer=function(){this.finalize();var T=this.bits,E=new ArrayBuffer(T/8),O=new DataView(E);return O.setUint32(0,this.h0h),O.setUint32(4,this.h0l),O.setUint32(8,this.h1h),O.setUint32(12,this.h1l),O.setUint32(16,this.h2h),O.setUint32(20,this.h2l),O.setUint32(24,this.h3h),T>=256&&O.setUint32(28,this.h3l),T>=384&&(O.setUint32(32,this.h4h),O.setUint32(36,this.h4l),O.setUint32(40,this.h5h),O.setUint32(44,this.h5l)),T==512&&(O.setUint32(48,this.h6h),O.setUint32(52,this.h6l),O.setUint32(56,this.h7h),O.setUint32(60,this.h7l)),E},x.prototype.clone=function(){var T=new x(this.bits,!1);return this.copyTo(T),T},x.prototype.copyTo=function(T){var E=0,O=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(E=0;E<O.length;++E)T[O[E]]=this[O[E]];for(E=0;E<this.blocks.length;++E)T.blocks[E]=this.blocks[E]};function _(T,E,O){var F,R=typeof T;if(R!=="string"){if(R==="object"){if(T===null)throw new Error(t);if(o&&T.constructor===ArrayBuffer)T=new Uint8Array(T);else if(!Array.isArray(T)&&(!o||!ArrayBuffer.isView(T)))throw new Error(t)}else throw new Error(t);F=!0}var z=T.length;if(!F){for(var j=[],z=T.length,G=0,ce,L=0;L<z;++L)ce=T.charCodeAt(L),ce<128?j[G++]=ce:ce<2048?(j[G++]=192|ce>>6,j[G++]=128|ce&63):ce<55296||ce>=57344?(j[G++]=224|ce>>12,j[G++]=128|ce>>6&63,j[G++]=128|ce&63):(ce=65536+((ce&1023)<<10|T.charCodeAt(++L)&1023),j[G++]=240|ce>>18,j[G++]=128|ce>>12&63,j[G++]=128|ce>>6&63,j[G++]=128|ce&63);T=j}T.length>128&&(T=new x(E,!0).update(T).array());for(var U=[],ee=[],L=0;L<128;++L){var oe=T[L]||0;U[L]=92^oe,ee[L]=54^oe}x.call(this,E,O),this.update(ee),this.oKeyPad=U,this.inner=!0,this.sharedMemory=O}_.prototype=new x,_.prototype.finalize=function(){if(x.prototype.finalize.call(this),this.inner){this.inner=!1;var T=this.array();x.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(T),x.prototype.finalize.call(this)}},_.prototype.clone=function(){var T=new _([],this.bits,!1);this.copyTo(T),T.inner=this.inner;for(var E=0;E<this.oKeyPad.length;++E)T.oKeyPad[E]=this.oKeyPad[E];return T};var w=y(512);w.sha512=w,w.sha384=y(384),w.sha512_256=y(256),w.sha512_224=y(224),w.sha512.hmac=g(512),w.sha384.hmac=g(384),w.sha512_256.hmac=g(256),w.sha512_224.hmac=g(224),s?e.exports=w:(a.sha512=w.sha512,a.sha384=w.sha384,a.sha512_256=w.sha512_256,a.sha512_224=w.sha512_224)})()})(IS);var nV=IS.exports,Gu=e=>e.type==="checkbox",Wi=e=>e instanceof Date,Ir=e=>e==null;const HS=e=>typeof e=="object";var Vt=e=>!Ir(e)&&!Array.isArray(e)&&HS(e)&&!Wi(e),VS=e=>Vt(e)&&e.target?Gu(e.target)?e.target.checked:e.target.value:e,iD=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,GS=(e,t)=>e.has(iD(t)),lD=e=>{const t=e.constructor&&e.constructor.prototype;return Vt(t)&&t.hasOwnProperty("isPrototypeOf")},lv=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function qt(e){let t;const r=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(lv&&(e instanceof Blob||n))&&(r||Vt(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!lD(e))t=e;else for(const a in e)e.hasOwnProperty(a)&&(t[a]=qt(e[a]));else return e;return t}var G0=e=>/^\w*$/.test(e),Tt=e=>e===void 0,sv=e=>Array.isArray(e)?e.filter(Boolean):[],ov=e=>sv(e.replace(/["|']|\]/g,"").split(/\.|\[/)),we=(e,t,r)=>{if(!t||!Vt(e))return r;const n=(G0(t)?[t]:ov(t)).reduce((a,i)=>Ir(a)?a:a[i],e);return Tt(n)||n===e?Tt(e[t])?r:e[t]:n},Wr=e=>typeof e=="boolean",Ze=(e,t,r)=>{let n=-1;const a=G0(t)?[t]:ov(t),i=a.length,l=i-1;for(;++n<i;){const s=a[n];let o=r;if(n!==l){const u=e[s];o=Vt(u)||Array.isArray(u)?u:isNaN(+a[n+1])?{}:[]}if(s==="__proto__"||s==="constructor"||s==="prototype")return;e[s]=o,e=e[s]}};const Gf={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Hn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ya={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},$S=P.createContext(null);$S.displayName="HookFormContext";const uv=()=>P.useContext($S);var XS=(e,t,r,n=!0)=>{const a={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(a,i,{get:()=>{const l=i;return t._proxyFormState[l]!==Hn.all&&(t._proxyFormState[l]=!n||Hn.all),r&&(r[l]=!0),e[l]}});return a};const cv=typeof window<"u"?P.useLayoutEffect:P.useEffect;function sD(e){const t=uv(),{control:r=t.control,disabled:n,name:a,exact:i}=e||{},[l,s]=P.useState(r._formState),o=P.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return cv(()=>r._subscribe({name:a,formState:o.current,exact:i,callback:u=>{!n&&s({...r._formState,...u})}}),[a,n,i]),P.useEffect(()=>{o.current.isValid&&r._setValid(!0)},[r]),P.useMemo(()=>XS(l,r,o.current,!1),[l,r])}var nn=e=>typeof e=="string",bp=(e,t,r,n,a)=>nn(e)?(n&&t.watch.add(e),we(r,e,a)):Array.isArray(e)?e.map(i=>(n&&t.watch.add(i),we(r,i))):(n&&(t.watchAll=!0),r),Tp=e=>Ir(e)||!HS(e);function Vn(e,t,r=new WeakSet){if(Tp(e)||Tp(t))return Object.is(e,t);if(Wi(e)&&Wi(t))return e.getTime()===t.getTime();const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const i of n){const l=e[i];if(!a.includes(i))return!1;if(i!=="ref"){const s=t[i];if(Wi(l)&&Wi(s)||Vt(l)&&Vt(s)||Array.isArray(l)&&Array.isArray(s)?!Vn(l,s,r):!Object.is(l,s))return!1}}return!0}function oD(e){const t=uv(),{control:r=t.control,name:n,defaultValue:a,disabled:i,exact:l,compute:s}=e||{},o=P.useRef(a),u=P.useRef(s),c=P.useRef(void 0),f=P.useRef(r),h=P.useRef(n);u.current=s;const[d,p]=P.useState(()=>{const _=r._getWatch(n,o.current);return u.current?u.current(_):_}),m=P.useCallback(_=>{const w=bp(n,r._names,_||r._formValues,!1,o.current);return u.current?u.current(w):w},[r._formValues,r._names,n]),y=P.useCallback(_=>{if(!i){const w=bp(n,r._names,_||r._formValues,!1,o.current);if(u.current){const T=u.current(w);Vn(T,c.current)||(p(T),c.current=T)}else p(w)}},[r._formValues,r._names,i,n]);cv(()=>((f.current!==r||!Vn(h.current,n))&&(f.current=r,h.current=n,y()),r._subscribe({name:n,formState:{values:!0},exact:l,callback:_=>{y(_.values)}})),[r,l,n,y]),P.useEffect(()=>r._removeUnmounted());const v=f.current!==r,g=h.current,x=P.useMemo(()=>{if(i)return null;const _=!v&&!Vn(g,n);return v||_?m():null},[i,v,n,g,m]);return x!==null?x:d}function uD(e){const t=uv(),{name:r,disabled:n,control:a=t.control,shouldUnregister:i,defaultValue:l,exact:s=!0}=e,o=GS(a._names.array,r),u=P.useMemo(()=>we(a._formValues,r,we(a._defaultValues,r,l)),[a,r,l]),c=oD({control:a,name:r,defaultValue:u,exact:s}),f=sD({control:a,name:r,exact:s}),h=P.useRef(e),d=P.useRef(void 0),p=P.useRef(a.register(r,{...e.rules,value:c,...Wr(e.disabled)?{disabled:e.disabled}:{}}));h.current=e;const m=P.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!we(f.errors,r)},isDirty:{enumerable:!0,get:()=>!!we(f.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!we(f.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!we(f.validatingFields,r)},error:{enumerable:!0,get:()=>we(f.errors,r)}}),[f,r]),y=P.useCallback(_=>p.current.onChange({target:{value:VS(_),name:r},type:Gf.CHANGE}),[r]),v=P.useCallback(()=>p.current.onBlur({target:{value:we(a._formValues,r),name:r},type:Gf.BLUR}),[r,a._formValues]),g=P.useCallback(_=>{const w=we(a._fields,r);w&&_&&(w._f.ref={focus:()=>_.focus&&_.focus(),select:()=>_.select&&_.select(),setCustomValidity:T=>_.setCustomValidity(T),reportValidity:()=>_.reportValidity()})},[a._fields,r]),x=P.useMemo(()=>({name:r,value:c,...Wr(n)||f.disabled?{disabled:f.disabled||n}:{},onChange:y,onBlur:v,ref:g}),[r,n,f.disabled,y,v,g,c]);return P.useEffect(()=>{const _=a._options.shouldUnregister||i,w=d.current;w&&w!==r&&!o&&a.unregister(w),a.register(r,{...h.current.rules,...Wr(h.current.disabled)?{disabled:h.current.disabled}:{}});const T=(E,O)=>{const F=we(a._fields,E);F&&F._f&&(F._f.mount=O)};if(T(r,!0),_){const E=qt(we(a._options.defaultValues,r,h.current.defaultValue));Ze(a._defaultValues,r,E),Tt(we(a._formValues,r))&&Ze(a._formValues,r,E)}return!o&&a.register(r),d.current=r,()=>{(o?_&&!a._state.action:_)?a.unregister(r):T(r,!1)}},[r,a,o,i]),P.useEffect(()=>{a._setDisabledField({disabled:n,name:r})},[n,r,a]),P.useMemo(()=>({field:x,formState:f,fieldState:m}),[x,f,m])}const aV=e=>e.render(uD(e));var fv=(e,t,r,n,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:a||!0}}:{},$o=e=>Array.isArray(e)?e:[e],Xy=()=>{let e=[];return{get observers(){return e},next:a=>{for(const i of e)i.next&&i.next(a)},subscribe:a=>(e.push(a),{unsubscribe:()=>{e=e.filter(i=>i!==a)}}),unsubscribe:()=>{e=[]}}};function YS(e,t){const r={};for(const n in e)if(e.hasOwnProperty(n)){const a=e[n],i=t[n];if(a&&Vt(a)&&i){const l=YS(a,i);Vt(l)&&(r[n]=l)}else e[n]&&(r[n]=i)}return r}var Or=e=>Vt(e)&&!Object.keys(e).length,hv=e=>e.type==="file",Gn=e=>typeof e=="function",$f=e=>{if(!lv)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},qS=e=>e.type==="select-multiple",dv=e=>e.type==="radio",cD=e=>dv(e)||Gu(e),rd=e=>$f(e)&&e.isConnected;function fD(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=Tt(e)?n++:e[t[n++]];return e}function hD(e){for(const t in e)if(e.hasOwnProperty(t)&&!Tt(e[t]))return!1;return!0}function zt(e,t){const r=Array.isArray(t)?t:G0(t)?[t]:ov(t),n=r.length===1?e:fD(e,r),a=r.length-1,i=r[a];return n&&delete n[i],a!==0&&(Vt(n)&&Or(n)||Array.isArray(n)&&hD(n))&&zt(e,r.slice(0,-1)),e}var dD=e=>{for(const t in e)if(Gn(e[t]))return!0;return!1};function KS(e){return Array.isArray(e)||Vt(e)&&!dD(e)}function Fp(e,t={}){for(const r in e){const n=e[r];KS(n)?(t[r]=Array.isArray(n)?[]:{},Fp(n,t[r])):Tt(n)||(t[r]=!0)}return t}function Kl(e,t,r){r||(r=Fp(t));for(const n in e){const a=e[n];if(KS(a))Tt(t)||Tp(r[n])?r[n]=Fp(a,Array.isArray(a)?[]:{}):Kl(a,Ir(t)?{}:t[n],r[n]);else{const i=t[n];r[n]=!Vn(a,i)}}return r}const Yy={value:!1,isValid:!1},qy={value:!0,isValid:!0};var ZS=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Tt(e[0].attributes.value)?Tt(e[0].value)||e[0].value===""?qy:{value:e[0].value,isValid:!0}:qy:Yy}return Yy},WS=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Tt(e)?e:t?e===""?NaN:e&&+e:r&&nn(e)?new Date(e):n?n(e):e;const Ky={isValid:!1,value:null};var QS=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,Ky):Ky;function Zy(e){const t=e.ref;return hv(t)?t.files:dv(t)?QS(e.refs).value:qS(t)?[...t.selectedOptions].map(({value:r})=>r):Gu(t)?ZS(e.refs).value:WS(Tt(t.value)?e.ref.value:t.value,e)}var pD=(e,t,r,n)=>{const a={};for(const i of e){const l=we(t,i);l&&Ze(a,i,l._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:n}},Xf=e=>e instanceof RegExp,_o=e=>Tt(e)?e:Xf(e)?e.source:Vt(e)?Xf(e.value)?e.value.source:e.value:e,Wy=e=>({isOnSubmit:!e||e===Hn.onSubmit,isOnBlur:e===Hn.onBlur,isOnChange:e===Hn.onChange,isOnAll:e===Hn.all,isOnTouch:e===Hn.onTouched});const Qy="AsyncFunction";var mD=e=>!!e&&!!e.validate&&!!(Gn(e.validate)&&e.validate.constructor.name===Qy||Vt(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Qy)),vD=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Jy=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const Xo=(e,t,r,n)=>{for(const a of r||Object.keys(e)){const i=we(e,a);if(i){const{_f:l,...s}=i;if(l){if(l.refs&&l.refs[0]&&t(l.refs[0],a)&&!n)return!0;if(l.ref&&t(l.ref,l.name)&&!n)return!0;if(Xo(s,t))break}else if(Vt(s)&&Xo(s,t))break}}};function e_(e,t,r){const n=we(e,r);if(n||G0(r))return{error:n,name:r};const a=r.split(".");for(;a.length;){const i=a.join("."),l=we(t,i),s=we(e,i);if(l&&!Array.isArray(l)&&r!==i)return{name:r};if(s&&s.type)return{name:i,error:s};if(s&&s.root&&s.root.type)return{name:`${i}.root`,error:s.root};a.pop()}return{name:r}}var gD=(e,t,r,n)=>{r(e);const{name:a,...i}=e;return Or(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(l=>t[l]===(!n||Hn.all))},xD=(e,t,r)=>!e||!t||e===t||$o(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n))),yD=(e,t,r,n,a)=>a.isOnAll?!1:!r&&a.isOnTouch?!(t||e):(r?n.isOnBlur:a.isOnBlur)?!e:(r?n.isOnChange:a.isOnChange)?e:!0,_D=(e,t)=>!sv(we(e,t)).length&&zt(e,t),ED=(e,t,r)=>{const n=$o(we(e,r));return Ze(n,"root",t[r]),Ze(e,r,n),e};function t_(e,t,r="validate"){if(nn(e)||Array.isArray(e)&&e.every(nn)||Wr(e)&&!e)return{type:r,message:nn(e)?e:"",ref:t}}var Hl=e=>Vt(e)&&!Xf(e)?e:{value:e,message:""},r_=async(e,t,r,n,a,i)=>{const{ref:l,refs:s,required:o,maxLength:u,minLength:c,min:f,max:h,pattern:d,validate:p,name:m,valueAsNumber:y,mount:v}=e._f,g=we(r,m);if(!v||t.has(m))return{};const x=s?s[0]:l,_=j=>{a&&x.reportValidity&&(x.setCustomValidity(Wr(j)?"":j||""),x.reportValidity())},w={},T=dv(l),E=Gu(l),O=T||E,F=(y||hv(l))&&Tt(l.value)&&Tt(g)||$f(l)&&l.value===""||g===""||Array.isArray(g)&&!g.length,R=fv.bind(null,m,n,w),z=(j,G,ce,L=ya.maxLength,U=ya.minLength)=>{const ee=j?G:ce;w[m]={type:j?L:U,message:ee,ref:l,...R(j?L:U,ee)}};if(i?!Array.isArray(g)||!g.length:o&&(!O&&(F||Ir(g))||Wr(g)&&!g||E&&!ZS(s).isValid||T&&!QS(s).isValid)){const{value:j,message:G}=nn(o)?{value:!!o,message:o}:Hl(o);if(j&&(w[m]={type:ya.required,message:G,ref:x,...R(ya.required,G)},!n))return _(G),w}if(!F&&(!Ir(f)||!Ir(h))){let j,G;const ce=Hl(h),L=Hl(f);if(!Ir(g)&&!isNaN(g)){const U=l.valueAsNumber||g&&+g;Ir(ce.value)||(j=U>ce.value),Ir(L.value)||(G=U<L.value)}else{const U=l.valueAsDate||new Date(g),ee=fe=>new Date(new Date().toDateString()+" "+fe),oe=l.type=="time",de=l.type=="week";nn(ce.value)&&g&&(j=oe?ee(g)>ee(ce.value):de?g>ce.value:U>new Date(ce.value)),nn(L.value)&&g&&(G=oe?ee(g)<ee(L.value):de?g<L.value:U<new Date(L.value))}if((j||G)&&(z(!!j,ce.message,L.message,ya.max,ya.min),!n))return _(w[m].message),w}if((u||c)&&!F&&(nn(g)||i&&Array.isArray(g))){const j=Hl(u),G=Hl(c),ce=!Ir(j.value)&&g.length>+j.value,L=!Ir(G.value)&&g.length<+G.value;if((ce||L)&&(z(ce,j.message,G.message),!n))return _(w[m].message),w}if(d&&!F&&nn(g)){const{value:j,message:G}=Hl(d);if(Xf(j)&&!g.match(j)&&(w[m]={type:ya.pattern,message:G,ref:l,...R(ya.pattern,G)},!n))return _(G),w}if(p){if(Gn(p)){const j=await p(g,r),G=t_(j,x);if(G&&(w[m]={...G,...R(ya.validate,G.message)},!n))return _(G.message),w}else if(Vt(p)){let j={};for(const G in p){if(!Or(j)&&!n)break;const ce=t_(await p[G](g,r),x,G);ce&&(j={...ce,...R(G,ce.message)},_(ce.message),n&&(w[m]=j))}if(!Or(j)&&(w[m]={ref:x,...j},!n))return w}}return _(!0),w};const wD={mode:Hn.onSubmit,reValidateMode:Hn.onChange,shouldFocusError:!0};function SD(e={}){let t={...wD,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:Gn(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},a=Vt(t.defaultValues)||Vt(t.values)?qt(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:qt(a),l={action:!1,mount:!1,watch:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},o,u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let f={...c};const h={array:Xy(),state:Xy()},d=t.criteriaMode===Hn.all,p=M=>X=>{clearTimeout(u),u=setTimeout(M,X)},m=async M=>{if(!t.disabled&&(c.isValid||f.isValid||M)){const X=t.resolver?Or((await E()).errors):await F(n,!0);X!==r.isValid&&h.state.next({isValid:X})}},y=(M,X)=>{!t.disabled&&(c.isValidating||c.validatingFields||f.isValidating||f.validatingFields)&&((M||Array.from(s.mount)).forEach(Y=>{Y&&(X?Ze(r.validatingFields,Y,X):zt(r.validatingFields,Y))}),h.state.next({validatingFields:r.validatingFields,isValidating:!Or(r.validatingFields)}))},v=(M,X=[],Y,ae,le=!0,ne=!0)=>{if(ae&&Y&&!t.disabled){if(l.action=!0,ne&&Array.isArray(we(n,M))){const Se=Y(we(n,M),ae.argA,ae.argB);le&&Ze(n,M,Se)}if(ne&&Array.isArray(we(r.errors,M))){const Se=Y(we(r.errors,M),ae.argA,ae.argB);le&&Ze(r.errors,M,Se),_D(r.errors,M)}if((c.touchedFields||f.touchedFields)&&ne&&Array.isArray(we(r.touchedFields,M))){const Se=Y(we(r.touchedFields,M),ae.argA,ae.argB);le&&Ze(r.touchedFields,M,Se)}(c.dirtyFields||f.dirtyFields)&&(r.dirtyFields=Kl(a,i)),h.state.next({name:M,isDirty:z(M,X),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ze(i,M,X)},g=(M,X)=>{Ze(r.errors,M,X),h.state.next({errors:r.errors})},x=M=>{r.errors=M,h.state.next({errors:r.errors,isValid:!1})},_=(M,X,Y,ae)=>{const le=we(n,M);if(le){const ne=we(i,M,Tt(Y)?we(a,M):Y);Tt(ne)||ae&&ae.defaultChecked||X?Ze(i,M,X?ne:Zy(le._f)):ce(M,ne),l.mount&&!l.action&&m()}},w=(M,X,Y,ae,le)=>{let ne=!1,Se=!1;const Ne={name:M};if(!t.disabled){if(!Y||ae){(c.isDirty||f.isDirty)&&(Se=r.isDirty,r.isDirty=Ne.isDirty=z(),ne=Se!==Ne.isDirty);const Oe=Vn(we(a,M),X);Se=!!we(r.dirtyFields,M),Oe?zt(r.dirtyFields,M):Ze(r.dirtyFields,M,!0),Ne.dirtyFields=r.dirtyFields,ne=ne||(c.dirtyFields||f.dirtyFields)&&Se!==!Oe}if(Y){const Oe=we(r.touchedFields,M);Oe||(Ze(r.touchedFields,M,Y),Ne.touchedFields=r.touchedFields,ne=ne||(c.touchedFields||f.touchedFields)&&Oe!==Y)}ne&&le&&h.state.next(Ne)}return ne?Ne:{}},T=(M,X,Y,ae)=>{const le=we(r.errors,M),ne=(c.isValid||f.isValid)&&Wr(X)&&r.isValid!==X;if(t.delayError&&Y?(o=p(()=>g(M,Y)),o(t.delayError)):(clearTimeout(u),o=null,Y?Ze(r.errors,M,Y):zt(r.errors,M)),(Y?!Vn(le,Y):le)||!Or(ae)||ne){const Se={...ae,...ne&&Wr(X)?{isValid:X}:{},errors:r.errors,name:M};r={...r,...Se},h.state.next(Se)}},E=async M=>{y(M,!0);const X=await t.resolver(i,t.context,pD(M||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return y(M),X},O=async M=>{const{errors:X}=await E(M);if(M)for(const Y of M){const ae=we(X,Y);ae?Ze(r.errors,Y,ae):zt(r.errors,Y)}else r.errors=X;return X},F=async(M,X,Y={valid:!0})=>{for(const ae in M){const le=M[ae];if(le){const{_f:ne,...Se}=le;if(ne){const Ne=s.array.has(ne.name),Oe=le._f&&mD(le._f);Oe&&c.validatingFields&&y([ne.name],!0);const qe=await r_(le,s.disabled,i,d,t.shouldUseNativeValidation&&!X,Ne);if(Oe&&c.validatingFields&&y([ne.name]),qe[ne.name]&&(Y.valid=!1,X))break;!X&&(we(qe,ne.name)?Ne?ED(r.errors,qe,ne.name):Ze(r.errors,ne.name,qe[ne.name]):zt(r.errors,ne.name))}!Or(Se)&&await F(Se,X,Y)}}return Y.valid},R=()=>{for(const M of s.unMount){const X=we(n,M);X&&(X._f.refs?X._f.refs.every(Y=>!rd(Y)):!rd(X._f.ref))&&ve(M)}s.unMount=new Set},z=(M,X)=>!t.disabled&&(M&&X&&Ze(i,M,X),!Vn(fe(),a)),j=(M,X,Y)=>bp(M,s,{...l.mount?i:Tt(X)?a:nn(M)?{[M]:X}:X},Y,X),G=M=>sv(we(l.mount?i:a,M,t.shouldUnregister?we(a,M,[]):[])),ce=(M,X,Y={})=>{const ae=we(n,M);let le=X;if(ae){const ne=ae._f;ne&&(!ne.disabled&&Ze(i,M,WS(X,ne)),le=$f(ne.ref)&&Ir(X)?"":X,qS(ne.ref)?[...ne.ref.options].forEach(Se=>Se.selected=le.includes(Se.value)):ne.refs?Gu(ne.ref)?ne.refs.forEach(Se=>{(!Se.defaultChecked||!Se.disabled)&&(Array.isArray(le)?Se.checked=!!le.find(Ne=>Ne===Se.value):Se.checked=le===Se.value||!!le)}):ne.refs.forEach(Se=>Se.checked=Se.value===le):hv(ne.ref)?ne.ref.value="":(ne.ref.value=le,ne.ref.type||h.state.next({name:M,values:qt(i)})))}(Y.shouldDirty||Y.shouldTouch)&&w(M,le,Y.shouldTouch,Y.shouldDirty,!0),Y.shouldValidate&&de(M)},L=(M,X,Y)=>{for(const ae in X){if(!X.hasOwnProperty(ae))return;const le=X[ae],ne=M+"."+ae,Se=we(n,ne);(s.array.has(M)||Vt(le)||Se&&!Se._f)&&!Wi(le)?L(ne,le,Y):ce(ne,le,Y)}},U=(M,X,Y={})=>{const ae=we(n,M),le=s.array.has(M),ne=qt(X);Ze(i,M,ne),le?(h.array.next({name:M,values:qt(i)}),(c.isDirty||c.dirtyFields||f.isDirty||f.dirtyFields)&&Y.shouldDirty&&h.state.next({name:M,dirtyFields:Kl(a,i),isDirty:z(M,ne)})):ae&&!ae._f&&!Ir(ne)?L(M,ne,Y):ce(M,ne,Y),Jy(M,s)&&h.state.next({...r,name:M}),h.state.next({name:l.mount?M:void 0,values:qt(i)})},ee=async M=>{l.mount=!0;const X=M.target;let Y=X.name,ae=!0;const le=we(n,Y),ne=Oe=>{ae=Number.isNaN(Oe)||Wi(Oe)&&isNaN(Oe.getTime())||Vn(Oe,we(i,Y,Oe))},Se=Wy(t.mode),Ne=Wy(t.reValidateMode);if(le){let Oe,qe;const xt=X.type?Zy(le._f):VS(M),at=M.type===Gf.BLUR||M.type===Gf.FOCUS_OUT,Ct=!vD(le._f)&&!t.resolver&&!we(r.errors,Y)&&!le._f.deps||yD(at,we(r.touchedFields,Y),r.isSubmitted,Ne,Se),_t=Jy(Y,s,at);Ze(i,Y,xt),at?(!X||!X.readOnly)&&(le._f.onBlur&&le._f.onBlur(M),o&&o(0)):le._f.onChange&&le._f.onChange(M);const St=w(Y,xt,at),kt=!Or(St)||_t;if(!at&&h.state.next({name:Y,type:M.type,values:qt(i)}),Ct)return(c.isValid||f.isValid)&&(t.mode==="onBlur"?at&&m():at||m()),kt&&h.state.next({name:Y,..._t?{}:St});if(!at&&_t&&h.state.next({...r}),t.resolver){const{errors:Lt}=await E([Y]);if(ne(xt),ae){const Yt=e_(r.errors,n,Y),Rt=e_(Lt,n,Yt.name||Y);Oe=Rt.error,Y=Rt.name,qe=Or(Lt)}}else y([Y],!0),Oe=(await r_(le,s.disabled,i,d,t.shouldUseNativeValidation))[Y],y([Y]),ne(xt),ae&&(Oe?qe=!1:(c.isValid||f.isValid)&&(qe=await F(n,!0)));ae&&(le._f.deps&&(!Array.isArray(le._f.deps)||le._f.deps.length>0)&&de(le._f.deps),T(Y,qe,Oe,St))}},oe=(M,X)=>{if(we(r.errors,X)&&M.focus)return M.focus(),1},de=async(M,X={})=>{let Y,ae;const le=$o(M);if(t.resolver){const ne=await O(Tt(M)?M:le);Y=Or(ne),ae=M?!le.some(Se=>we(ne,Se)):Y}else M?(ae=(await Promise.all(le.map(async ne=>{const Se=we(n,ne);return await F(Se&&Se._f?{[ne]:Se}:Se)}))).every(Boolean),!(!ae&&!r.isValid)&&m()):ae=Y=await F(n);return h.state.next({...!nn(M)||(c.isValid||f.isValid)&&Y!==r.isValid?{}:{name:M},...t.resolver||!M?{isValid:Y}:{},errors:r.errors}),X.shouldFocus&&!ae&&Xo(n,oe,M?le:s.mount),ae},fe=(M,X)=>{let Y={...l.mount?i:a};return X&&(Y=YS(X.dirtyFields?r.dirtyFields:r.touchedFields,Y)),Tt(M)?Y:nn(M)?we(Y,M):M.map(ae=>we(Y,ae))},Fe=(M,X)=>({invalid:!!we((X||r).errors,M),isDirty:!!we((X||r).dirtyFields,M),error:we((X||r).errors,M),isValidating:!!we(r.validatingFields,M),isTouched:!!we((X||r).touchedFields,M)}),B=M=>{M&&$o(M).forEach(X=>zt(r.errors,X)),h.state.next({errors:M?r.errors:{}})},H=(M,X,Y)=>{const ae=(we(n,M,{_f:{}})._f||{}).ref,le=we(r.errors,M)||{},{ref:ne,message:Se,type:Ne,...Oe}=le;Ze(r.errors,M,{...Oe,...X,ref:ae}),h.state.next({name:M,errors:r.errors,isValid:!1}),Y&&Y.shouldFocus&&ae&&ae.focus&&ae.focus()},I=(M,X)=>Gn(M)?h.state.subscribe({next:Y=>"values"in Y&&M(j(void 0,X),Y)}):j(M,X,!0),V=M=>h.state.subscribe({next:X=>{xD(M.name,X.name,M.exact)&&gD(X,M.formState||c,_e,M.reRenderRoot)&&M.callback({values:{...i},...r,...X,defaultValues:a})}}).unsubscribe,re=M=>(l.mount=!0,f={...f,...M.formState},V({...M,formState:f})),ve=(M,X={})=>{for(const Y of M?$o(M):s.mount)s.mount.delete(Y),s.array.delete(Y),X.keepValue||(zt(n,Y),zt(i,Y)),!X.keepError&&zt(r.errors,Y),!X.keepDirty&&zt(r.dirtyFields,Y),!X.keepTouched&&zt(r.touchedFields,Y),!X.keepIsValidating&&zt(r.validatingFields,Y),!t.shouldUnregister&&!X.keepDefaultValue&&zt(a,Y);h.state.next({values:qt(i)}),h.state.next({...r,...X.keepDirty?{isDirty:z()}:{}}),!X.keepIsValid&&m()},Q=({disabled:M,name:X})=>{(Wr(M)&&l.mount||M||s.disabled.has(X))&&(M?s.disabled.add(X):s.disabled.delete(X))},W=(M,X={})=>{let Y=we(n,M);const ae=Wr(X.disabled)||Wr(t.disabled);return Ze(n,M,{...Y||{},_f:{...Y&&Y._f?Y._f:{ref:{name:M}},name:M,mount:!0,...X}}),s.mount.add(M),Y?Q({disabled:Wr(X.disabled)?X.disabled:t.disabled,name:M}):_(M,!0,X.value),{...ae?{disabled:X.disabled||t.disabled}:{},...t.progressive?{required:!!X.required,min:_o(X.min),max:_o(X.max),minLength:_o(X.minLength),maxLength:_o(X.maxLength),pattern:_o(X.pattern)}:{},name:M,onChange:ee,onBlur:ee,ref:le=>{if(le){W(M,X),Y=we(n,M);const ne=Tt(le.value)&&le.querySelectorAll&&le.querySelectorAll("input,select,textarea")[0]||le,Se=cD(ne),Ne=Y._f.refs||[];if(Se?Ne.find(Oe=>Oe===ne):ne===Y._f.ref)return;Ze(n,M,{_f:{...Y._f,...Se?{refs:[...Ne.filter(rd),ne,...Array.isArray(we(a,M))?[{}]:[]],ref:{type:ne.type,name:M}}:{ref:ne}}}),_(M,!1,void 0,ne)}else Y=we(n,M,{}),Y._f&&(Y._f.mount=!1),(t.shouldUnregister||X.shouldUnregister)&&!(GS(s.array,M)&&l.action)&&s.unMount.add(M)}}},q=()=>t.shouldFocusError&&Xo(n,oe,s.mount),me=M=>{Wr(M)&&(h.state.next({disabled:M}),Xo(n,(X,Y)=>{const ae=we(n,Y);ae&&(X.disabled=ae._f.disabled||M,Array.isArray(ae._f.refs)&&ae._f.refs.forEach(le=>{le.disabled=ae._f.disabled||M}))},0,!1))},Ce=(M,X)=>async Y=>{let ae;Y&&(Y.preventDefault&&Y.preventDefault(),Y.persist&&Y.persist());let le=qt(i);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:ne,values:Se}=await E();r.errors=ne,le=qt(Se)}else await F(n);if(s.disabled.size)for(const ne of s.disabled)zt(le,ne);if(zt(r.errors,"root"),Or(r.errors)){h.state.next({errors:{}});try{await M(le,Y)}catch(ne){ae=ne}}else X&&await X({...r.errors},Y),q(),setTimeout(q);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Or(r.errors)&&!ae,submitCount:r.submitCount+1,errors:r.errors}),ae)throw ae},Ge=(M,X={})=>{we(n,M)&&(Tt(X.defaultValue)?U(M,qt(we(a,M))):(U(M,X.defaultValue),Ze(a,M,qt(X.defaultValue))),X.keepTouched||zt(r.touchedFields,M),X.keepDirty||(zt(r.dirtyFields,M),r.isDirty=X.defaultValue?z(M,qt(we(a,M))):z()),X.keepError||(zt(r.errors,M),c.isValid&&m()),h.state.next({...r}))},Re=(M,X={})=>{const Y=M?qt(M):a,ae=qt(Y),le=Or(M),ne=le?a:ae;if(X.keepDefaultValues||(a=Y),!X.keepValues){if(X.keepDirtyValues){const Se=new Set([...s.mount,...Object.keys(Kl(a,i))]);for(const Ne of Array.from(Se))we(r.dirtyFields,Ne)?Ze(ne,Ne,we(i,Ne)):U(Ne,we(ne,Ne))}else{if(lv&&Tt(M))for(const Se of s.mount){const Ne=we(n,Se);if(Ne&&Ne._f){const Oe=Array.isArray(Ne._f.refs)?Ne._f.refs[0]:Ne._f.ref;if($f(Oe)){const qe=Oe.closest("form");if(qe){qe.reset();break}}}}if(X.keepFieldsRef)for(const Se of s.mount)U(Se,we(ne,Se));else n={}}i=t.shouldUnregister?X.keepDefaultValues?qt(a):{}:qt(ne),h.array.next({values:{...ne}}),h.state.next({values:{...ne}})}s={mount:X.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!c.isValid||!!X.keepIsValid||!!X.keepDirtyValues||!t.shouldUnregister&&!Or(ne),l.watch=!!t.shouldUnregister,h.state.next({submitCount:X.keepSubmitCount?r.submitCount:0,isDirty:le?!1:X.keepDirty?r.isDirty:!!(X.keepDefaultValues&&!Vn(M,a)),isSubmitted:X.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:le?{}:X.keepDirtyValues?X.keepDefaultValues&&i?Kl(a,i):r.dirtyFields:X.keepDefaultValues&&M?Kl(a,M):X.keepDirty?r.dirtyFields:{},touchedFields:X.keepTouched?r.touchedFields:{},errors:X.keepErrors?r.errors:{},isSubmitSuccessful:X.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:a})},ot=(M,X)=>Re(Gn(M)?M(i):M,X),Ie=(M,X={})=>{const Y=we(n,M),ae=Y&&Y._f;if(ae){const le=ae.refs?ae.refs[0]:ae.ref;le.focus&&(le.focus(),X.shouldSelect&&Gn(le.select)&&le.select())}},_e=M=>{r={...r,...M}},nt={control:{register:W,unregister:ve,getFieldState:Fe,handleSubmit:Ce,setError:H,_subscribe:V,_runSchema:E,_focusError:q,_getWatch:j,_getDirty:z,_setValid:m,_setFieldArray:v,_setDisabledField:Q,_setErrors:x,_getFieldArray:G,_reset:Re,_resetDefaultValues:()=>Gn(t.defaultValues)&&t.defaultValues().then(M=>{ot(M,t.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:R,_disableForm:me,_subjects:h,_proxyFormState:c,get _fields(){return n},get _formValues(){return i},get _state(){return l},set _state(M){l=M},get _defaultValues(){return a},get _names(){return s},set _names(M){s=M},get _formState(){return r},get _options(){return t},set _options(M){t={...t,...M}}},subscribe:re,trigger:de,register:W,handleSubmit:Ce,watch:I,setValue:U,getValues:fe,reset:ot,resetField:Ge,clearErrors:B,unregister:ve,setError:H,setFocus:Ie,getFieldState:Fe};return{...nt,formControl:nt}}function iV(e={}){const t=P.useRef(void 0),r=P.useRef(void 0),[n,a]=P.useState({isDirty:!1,isValidating:!1,isLoading:Gn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Gn(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:n},e.defaultValues&&!Gn(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:l,...s}=SD(e);t.current={...s,formState:n}}const i=t.current.control;return i._options=e,cv(()=>{const l=i._subscribe({formState:i._proxyFormState,callback:()=>a({...i._formState}),reRenderRoot:!0});return a(s=>({...s,isReady:!0})),i._formState.isReady=!0,l},[i]),P.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),P.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),P.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),P.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),P.useEffect(()=>{if(i._proxyFormState.isDirty){const l=i._getDirty();l!==n.isDirty&&i._subjects.state.next({isDirty:l})}},[i,n.isDirty]),P.useEffect(()=>{var l;e.values&&!Vn(e.values,r.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),!((l=i._options.resetOptions)===null||l===void 0)&&l.keepIsValid||i._setValid(),r.current=e.values,a(s=>({...s}))):i._resetDefaultValues()},[i,e.values]),P.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=XS(n,i),t.current}const n_=(e,t,r)=>{if(e&&"reportValidity"in e){const n=we(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},Ap=(e,t)=>{for(const r in t.fields){const n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?n_(n.ref,r,e):n&&n.refs&&n.refs.forEach(a=>n_(a,r,e))}},a_=(e,t)=>{t.shouldUseNativeValidation&&Ap(e,t);const r={};for(const n in e){const a=we(t.fields,n),i=Object.assign(e[n]||{},{ref:a&&a.ref});if(bD(t.names||Object.keys(e),n)){const l=Object.assign({},we(r,n));Ze(l,"root",i),Ze(r,n,l)}else Ze(r,n,i)}return r},bD=(e,t)=>{const r=i_(t);return e.some(n=>i_(n).match(`^${r}\\.\\d+`))};function i_(e){return e.replace(/\]|\[/g,"")}function Ae(e,t,r){function n(s,o){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:o,constr:l,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,o);const u=l.prototype,c=Object.keys(u);for(let f=0;f<c.length;f++){const h=c[f];h in s||(s[h]=u[h].bind(s))}}const a=r?.Parent??Object;class i extends a{}Object.defineProperty(i,"name",{value:e});function l(s){var o;const u=r?.Parent?new i:this;n(u,s),(o=u._zod).deferred??(o.deferred=[]);for(const c of u._zod.deferred)c();return u}return Object.defineProperty(l,"init",{value:n}),Object.defineProperty(l,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(l,"name",{value:e}),l}class Es extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class JS extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const eb={};function ml(e){return eb}function TD(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,a])=>t.indexOf(+n)===-1).map(([n,a])=>a)}function Op(e,t){return typeof t=="bigint"?t.toString():t}function pv(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function mv(e){return e==null}function vv(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function FD(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let a=(n.split(".")[1]||"").length;if(a===0&&/\d?e-\d?/.test(n)){const o=n.match(/\d?e-(\d?)/);o?.[1]&&(a=Number.parseInt(o[1]))}const i=r>a?r:a,l=Number.parseInt(e.toFixed(i).replace(".","")),s=Number.parseInt(t.toFixed(i).replace(".",""));return l%s/10**i}const l_=Symbol("evaluating");function ft(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==l_)return n===void 0&&(n=l_,n=r()),n},set(a){Object.defineProperty(e,t,{value:a})},configurable:!0})}function Fl(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Al(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function s_(e){return JSON.stringify(e)}const tb="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Yf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const AD=pv(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function yu(e){if(Yf(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Yf(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function rb(e){return yu(e)?{...e}:Array.isArray(e)?[...e]:e}const OD=new Set(["string","number","symbol"]);function CD(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function zi(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function $t(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function RD(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const DD={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function ND(e,t){const r=e._zod.def,n=Al(e._zod.def,{get shape(){const a={};for(const i in t){if(!(i in r.shape))throw new Error(`Unrecognized key: "${i}"`);t[i]&&(a[i]=r.shape[i])}return Fl(this,"shape",a),a},checks:[]});return zi(e,n)}function MD(e,t){const r=e._zod.def,n=Al(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const i in t){if(!(i in r.shape))throw new Error(`Unrecognized key: "${i}"`);t[i]&&delete a[i]}return Fl(this,"shape",a),a},checks:[]});return zi(e,n)}function kD(e,t){if(!yu(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const a=Al(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return Fl(this,"shape",i),i},checks:[]});return zi(e,a)}function LD(e,t){if(!yu(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const n={...e._zod.def.shape,...t};return Fl(this,"shape",n),n},checks:e._zod.def.checks};return zi(e,r)}function BD(e,t){const r=Al(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return Fl(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return zi(e,r)}function PD(e,t,r){const n=Al(t._zod.def,{get shape(){const a=t._zod.def.shape,i={...a};if(r)for(const l in r){if(!(l in a))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(i[l]=e?new e({type:"optional",innerType:a[l]}):a[l])}else for(const l in a)i[l]=e?new e({type:"optional",innerType:a[l]}):a[l];return Fl(this,"shape",i),i},checks:[]});return zi(t,n)}function zD(e,t,r){const n=Al(t._zod.def,{get shape(){const a=t._zod.def.shape,i={...a};if(r)for(const l in r){if(!(l in i))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(i[l]=new e({type:"nonoptional",innerType:a[l]}))}else for(const l in a)i[l]=new e({type:"nonoptional",innerType:a[l]});return Fl(this,"shape",i),i},checks:[]});return zi(t,n)}function fs(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function nb(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function bc(e){return typeof e=="string"?e:e?.message}function vl(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const a=bc(e.inst?._zod.def?.error?.(e))??bc(t?.error?.(e))??bc(r.customError?.(e))??bc(r.localeError?.(e))??"Invalid input";n.message=a}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function gv(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function _u(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const ab=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Op,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},xv=Ae("$ZodError",ab),$0=Ae("$ZodError",ab,{Parent:Error});function UD(e,t=r=>r.message){const r={},n=[];for(const a of e.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}function jD(e,t=r=>r.message){const r={_errors:[]},n=a=>{for(const i of a.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(l=>n({issues:l}));else if(i.code==="invalid_key")n({issues:i.issues});else if(i.code==="invalid_element")n({issues:i.issues});else if(i.path.length===0)r._errors.push(t(i));else{let l=r,s=0;for(;s<i.path.length;){const o=i.path[s];s===i.path.length-1?(l[o]=l[o]||{_errors:[]},l[o]._errors.push(t(i))):l[o]=l[o]||{_errors:[]},l=l[o],s++}}};return n(e),r}const X0=e=>(t,r,n,a)=>{const i=n?Object.assign(n,{async:!1}):{async:!1},l=t._zod.run({value:r,issues:[]},i);if(l instanceof Promise)throw new Es;if(l.issues.length){const s=new(a?.Err??e)(l.issues.map(o=>vl(o,i,ml())));throw tb(s,a?.callee),s}return l.value},ID=X0($0),Y0=e=>async(t,r,n,a)=>{const i=n?Object.assign(n,{async:!0}):{async:!0};let l=t._zod.run({value:r,issues:[]},i);if(l instanceof Promise&&(l=await l),l.issues.length){const s=new(a?.Err??e)(l.issues.map(o=>vl(o,i,ml())));throw tb(s,a?.callee),s}return l.value},HD=Y0($0),q0=e=>(t,r,n)=>{const a=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise)throw new Es;return i.issues.length?{success:!1,error:new(e??xv)(i.issues.map(l=>vl(l,a,ml())))}:{success:!0,data:i.value}},VD=q0($0),K0=e=>async(t,r,n)=>{const a=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(l=>vl(l,a,ml())))}:{success:!0,data:i.value}},GD=K0($0),$D=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return X0(e)(t,r,a)},XD=e=>(t,r,n)=>X0(e)(t,r,n),YD=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Y0(e)(t,r,a)},qD=e=>async(t,r,n)=>Y0(e)(t,r,n),KD=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return q0(e)(t,r,a)},ZD=e=>(t,r,n)=>q0(e)(t,r,n),WD=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return K0(e)(t,r,a)},QD=e=>async(t,r,n)=>K0(e)(t,r,n),JD=/^-?\d+$/,eN=/^-?\d+(?:\.\d+)?/,fa=Ae("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),ib={number:"number",bigint:"bigint",object:"date"},lb=Ae("$ZodCheckLessThan",(e,t)=>{fa.init(e,t);const r=ib[typeof t.value];e._zod.onattach.push(n=>{const a=n._zod.bag,i=(t.inclusive?a.maximum:a.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?a.maximum=t.value:a.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),sb=Ae("$ZodCheckGreaterThan",(e,t)=>{fa.init(e,t);const r=ib[typeof t.value];e._zod.onattach.push(n=>{const a=n._zod.bag,i=(t.inclusive?a.minimum:a.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?a.minimum=t.value:a.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),tN=Ae("$ZodCheckMultipleOf",(e,t)=>{fa.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):FD(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),rN=Ae("$ZodCheckNumberFormat",(e,t)=>{fa.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[a,i]=DD[t.format];e._zod.onattach.push(l=>{const s=l._zod.bag;s.format=t.format,s.minimum=a,s.maximum=i,r&&(s.pattern=JD)}),e._zod.check=l=>{const s=l.value;if(r){if(!Number.isInteger(s)){l.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?l.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}):l.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort});return}}s<a&&l.issues.push({origin:"number",input:s,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),s>i&&l.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:e})}}),nN=Ae("$ZodCheckMaxLength",(e,t)=>{var r;fa.init(e,t),(r=e._zod.def).when??(r.when=n=>{const a=n.value;return!mv(a)&&a.length!==void 0}),e._zod.onattach.push(n=>{const a=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<a&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const a=n.value;if(a.length<=t.maximum)return;const l=gv(a);n.issues.push({origin:l,code:"too_big",maximum:t.maximum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),aN=Ae("$ZodCheckMinLength",(e,t)=>{var r;fa.init(e,t),(r=e._zod.def).when??(r.when=n=>{const a=n.value;return!mv(a)&&a.length!==void 0}),e._zod.onattach.push(n=>{const a=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>a&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const a=n.value;if(a.length>=t.minimum)return;const l=gv(a);n.issues.push({origin:l,code:"too_small",minimum:t.minimum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),iN=Ae("$ZodCheckLengthEquals",(e,t)=>{var r;fa.init(e,t),(r=e._zod.def).when??(r.when=n=>{const a=n.value;return!mv(a)&&a.length!==void 0}),e._zod.onattach.push(n=>{const a=n._zod.bag;a.minimum=t.length,a.maximum=t.length,a.length=t.length}),e._zod.check=n=>{const a=n.value,i=a.length;if(i===t.length)return;const l=gv(a),s=i>t.length;n.issues.push({origin:l,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),lN=Ae("$ZodCheckOverwrite",(e,t)=>{fa.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class sN{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
`).filter(l=>l),a=Math.min(...n.map(l=>l.length-l.trimStart().length)),i=n.map(l=>l.slice(a)).map(l=>" ".repeat(this.indent*2)+l);for(const l of i)this.content.push(l)}compile(){const t=Function,r=this?.args,a=[...(this?.content??[""]).map(i=>`  ${i}`)];return new t(...r,a.join(`
`))}}const oN={major:4,minor:1,patch:13},Jt=Ae("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=oN;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const a of n)for(const i of a._zod.onattach)i(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const a=(l,s,o)=>{let u=fs(l),c;for(const f of s){if(f._zod.def.when){if(!f._zod.def.when(l))continue}else if(u)continue;const h=l.issues.length,d=f._zod.check(l);if(d instanceof Promise&&o?.async===!1)throw new Es;if(c||d instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await d,l.issues.length!==h&&(u||(u=fs(l,h)))});else{if(l.issues.length===h)continue;u||(u=fs(l,h))}}return c?c.then(()=>l):l},i=(l,s,o)=>{if(fs(l))return l.aborted=!0,l;const u=a(s,n,o);if(u instanceof Promise){if(o.async===!1)throw new Es;return u.then(c=>e._zod.parse(c,o))}return e._zod.parse(u,o)};e._zod.run=(l,s)=>{if(s.skipChecks)return e._zod.parse(l,s);if(s.direction==="backward"){const u=e._zod.parse({value:l.value,issues:[]},{...s,skipChecks:!0});return u instanceof Promise?u.then(c=>i(c,l,s)):i(u,l,s)}const o=e._zod.parse(l,s);if(o instanceof Promise){if(s.async===!1)throw new Es;return o.then(u=>a(u,n,s))}return a(o,n,s)}}e["~standard"]={validate:a=>{try{const i=VD(e,a);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return GD(e,a).then(l=>l.success?{value:l.data}:{issues:l.error?.issues})}},vendor:"zod",version:1}}),ob=Ae("$ZodNumber",(e,t)=>{Jt.init(e,t),e._zod.pattern=e._zod.bag.pattern??eN,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const a=r.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return r;const i=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),r}}),uN=Ae("$ZodNumberFormat",(e,t)=>{rN.init(e,t),ob.init(e,t)}),cN=Ae("$ZodUnknown",(e,t)=>{Jt.init(e,t),e._zod.parse=r=>r}),fN=Ae("$ZodNever",(e,t)=>{Jt.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function o_(e,t,r){e.issues.length&&t.issues.push(...nb(r,e.issues)),t.value[r]=e.value}const hN=Ae("$ZodArray",(e,t)=>{Jt.init(e,t),e._zod.parse=(r,n)=>{const a=r.value;if(!Array.isArray(a))return r.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),r;r.value=Array(a.length);const i=[];for(let l=0;l<a.length;l++){const s=a[l],o=t.element._zod.run({value:s,issues:[]},n);o instanceof Promise?i.push(o.then(u=>o_(u,r,l))):o_(o,r,l)}return i.length?Promise.all(i).then(()=>r):r}});function qf(e,t,r,n){e.issues.length&&t.issues.push(...nb(r,e.issues)),e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function ub(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=RD(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function cb(e,t,r,n,a,i){const l=[],s=a.keySet,o=a.catchall._zod,u=o.def.type;for(const c in t){if(s.has(c))continue;if(u==="never"){l.push(c);continue}const f=o.run({value:t[c],issues:[]},n);f instanceof Promise?e.push(f.then(h=>qf(h,r,c,t))):qf(f,r,c,t)}return l.length&&r.issues.push({code:"unrecognized_keys",keys:l,input:t,inst:i}),e.length?Promise.all(e).then(()=>r):r}const dN=Ae("$ZodObject",(e,t)=>{if(Jt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const o={...s};return Object.defineProperty(t,"shape",{value:o}),o}})}const n=pv(()=>ub(t));ft(e._zod,"propValues",()=>{const s=t.shape,o={};for(const u in s){const c=s[u]._zod;if(c.values){o[u]??(o[u]=new Set);for(const f of c.values)o[u].add(f)}}return o});const a=Yf,i=t.catchall;let l;e._zod.parse=(s,o)=>{l??(l=n.value);const u=s.value;if(!a(u))return s.issues.push({expected:"object",code:"invalid_type",input:u,inst:e}),s;s.value={};const c=[],f=l.shape;for(const h of l.keys){const p=f[h]._zod.run({value:u[h],issues:[]},o);p instanceof Promise?c.push(p.then(m=>qf(m,s,h,u))):qf(p,s,h,u)}return i?cb(c,u,s,o,n.value,e):c.length?Promise.all(c).then(()=>s):s}}),pN=Ae("$ZodObjectJIT",(e,t)=>{dN.init(e,t);const r=e._zod.parse,n=pv(()=>ub(t)),a=h=>{const d=new sN(["shape","payload","ctx"]),p=n.value,m=x=>{const _=s_(x);return`shape[${_}]._zod.run({ value: input[${_}], issues: [] }, ctx)`};d.write("const input = payload.value;");const y=Object.create(null);let v=0;for(const x of p.keys)y[x]=`key_${v++}`;d.write("const newResult = {};");for(const x of p.keys){const _=y[x],w=s_(x);d.write(`const ${_} = ${m(x)};`),d.write(`
        if (${_}.issues.length) {
          payload.issues = payload.issues.concat(${_}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${w}, ...iss.path] : [${w}]
          })));
        }
        
        
        if (${_}.value === undefined) {
          if (${w} in input) {
            newResult[${w}] = undefined;
          }
        } else {
          newResult[${w}] = ${_}.value;
        }
        
      `)}d.write("payload.value = newResult;"),d.write("return payload;");const g=d.compile();return(x,_)=>g(h,x,_)};let i;const l=Yf,s=!eb.jitless,u=s&&AD.value,c=t.catchall;let f;e._zod.parse=(h,d)=>{f??(f=n.value);const p=h.value;return l(p)?s&&u&&d?.async===!1&&d.jitless!==!0?(i||(i=a(t.shape)),h=i(h,d),c?cb([],p,h,d,f,e):h):r(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),h)}});function u_(e,t,r,n){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const a=e.filter(i=>!fs(i));return a.length===1?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(l=>vl(l,n,ml())))}),t)}const mN=Ae("$ZodUnion",(e,t)=>{Jt.init(e,t),ft(e._zod,"optin",()=>t.options.some(a=>a._zod.optin==="optional")?"optional":void 0),ft(e._zod,"optout",()=>t.options.some(a=>a._zod.optout==="optional")?"optional":void 0),ft(e._zod,"values",()=>{if(t.options.every(a=>a._zod.values))return new Set(t.options.flatMap(a=>Array.from(a._zod.values)))}),ft(e._zod,"pattern",()=>{if(t.options.every(a=>a._zod.pattern)){const a=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${a.map(i=>vv(i.source)).join("|")})$`)}});const r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(r)return n(a,i);let l=!1;const s=[];for(const o of t.options){const u=o._zod.run({value:a.value,issues:[]},i);if(u instanceof Promise)s.push(u),l=!0;else{if(u.issues.length===0)return u;s.push(u)}}return l?Promise.all(s).then(o=>u_(o,a,e,i)):u_(s,a,e,i)}}),vN=Ae("$ZodIntersection",(e,t)=>{Jt.init(e,t),e._zod.parse=(r,n)=>{const a=r.value,i=t.left._zod.run({value:a,issues:[]},n),l=t.right._zod.run({value:a,issues:[]},n);return i instanceof Promise||l instanceof Promise?Promise.all([i,l]).then(([o,u])=>c_(r,o,u)):c_(r,i,l)}});function Cp(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(yu(e)&&yu(t)){const r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),a={...e,...t};for(const i of n){const l=Cp(e[i],t[i]);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};a[i]=l.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const a=e[n],i=t[n],l=Cp(a,i);if(!l.valid)return{valid:!1,mergeErrorPath:[n,...l.mergeErrorPath]};r.push(l.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function c_(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),fs(e))return e;const n=Cp(t.value,r.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}const gN=Ae("$ZodEnum",(e,t)=>{Jt.init(e,t);const r=TD(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(a=>OD.has(typeof a)).map(a=>typeof a=="string"?CD(a):a.toString()).join("|")})$`),e._zod.parse=(a,i)=>{const l=a.value;return n.has(l)||a.issues.push({code:"invalid_value",values:r,input:l,inst:e}),a}}),xN=Ae("$ZodTransform",(e,t)=>{Jt.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new JS(e.constructor.name);const a=t.transform(r.value,r);if(n.async)return(a instanceof Promise?a:Promise.resolve(a)).then(l=>(r.value=l,r));if(a instanceof Promise)throw new Es;return r.value=a,r}});function f_(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const yN=Ae("$ZodOptional",(e,t)=>{Jt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ft(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ft(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${vv(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(i=>f_(i,r.value)):f_(a,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),_N=Ae("$ZodNullable",(e,t)=>{Jt.init(e,t),ft(e._zod,"optin",()=>t.innerType._zod.optin),ft(e._zod,"optout",()=>t.innerType._zod.optout),ft(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${vv(r.source)}|null)$`):void 0}),ft(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),EN=Ae("$ZodDefault",(e,t)=>{Jt.init(e,t),e._zod.optin="optional",ft(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(i=>h_(i,t)):h_(a,t)}});function h_(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const wN=Ae("$ZodPrefault",(e,t)=>{Jt.init(e,t),e._zod.optin="optional",ft(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),SN=Ae("$ZodNonOptional",(e,t)=>{Jt.init(e,t),ft(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(i=>d_(i,e)):d_(a,e)}});function d_(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const bN=Ae("$ZodCatch",(e,t)=>{Jt.init(e,t),ft(e._zod,"optin",()=>t.innerType._zod.optin),ft(e._zod,"optout",()=>t.innerType._zod.optout),ft(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(i=>(r.value=i.value,i.issues.length&&(r.value=t.catchValue({...r,error:{issues:i.issues.map(l=>vl(l,n,ml()))},input:r.value}),r.issues=[]),r)):(r.value=a.value,a.issues.length&&(r.value=t.catchValue({...r,error:{issues:a.issues.map(i=>vl(i,n,ml()))},input:r.value}),r.issues=[]),r)}}),TN=Ae("$ZodPipe",(e,t)=>{Jt.init(e,t),ft(e._zod,"values",()=>t.in._zod.values),ft(e._zod,"optin",()=>t.in._zod.optin),ft(e._zod,"optout",()=>t.out._zod.optout),ft(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){const i=t.out._zod.run(r,n);return i instanceof Promise?i.then(l=>Tc(l,t.in,n)):Tc(i,t.in,n)}const a=t.in._zod.run(r,n);return a instanceof Promise?a.then(i=>Tc(i,t.out,n)):Tc(a,t.out,n)}});function Tc(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const FN=Ae("$ZodReadonly",(e,t)=>{Jt.init(e,t),ft(e._zod,"propValues",()=>t.innerType._zod.propValues),ft(e._zod,"values",()=>t.innerType._zod.values),ft(e._zod,"optin",()=>t.innerType?._zod?.optin),ft(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(p_):p_(a)}});function p_(e){return e.value=Object.freeze(e.value),e}const AN=Ae("$ZodCustom",(e,t)=>{fa.init(e,t),Jt.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{const n=r.value,a=t.fn(n);if(a instanceof Promise)return a.then(i=>m_(i,r,n,e));m_(a,r,n,e)}});function m_(e,t,r,n){if(!e){const a={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(a.params=n._zod.def.params),t.issues.push(_u(a))}}var v_;class ON{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const n=r[0];if(this._map.set(t,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,t)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const n={...this.get(r)??{}};delete n.id;const a={...n,...this._map.get(t)};return Object.keys(a).length?a:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function CN(){return new ON}(v_=globalThis).__zod_globalRegistry??(v_.__zod_globalRegistry=CN());const Fc=globalThis.__zod_globalRegistry;function RN(e,t){return new e({type:"number",coerce:!0,checks:[],...$t(t)})}function DN(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...$t(t)})}function NN(e){return new e({type:"unknown"})}function MN(e,t){return new e({type:"never",...$t(t)})}function g_(e,t){return new lb({check:"less_than",...$t(t),value:e,inclusive:!1})}function nd(e,t){return new lb({check:"less_than",...$t(t),value:e,inclusive:!0})}function x_(e,t){return new sb({check:"greater_than",...$t(t),value:e,inclusive:!1})}function ad(e,t){return new sb({check:"greater_than",...$t(t),value:e,inclusive:!0})}function y_(e,t){return new tN({check:"multiple_of",...$t(t),value:e})}function kN(e,t){return new nN({check:"max_length",...$t(t),maximum:e})}function __(e,t){return new aN({check:"min_length",...$t(t),minimum:e})}function LN(e,t){return new iN({check:"length_equals",...$t(t),length:e})}function BN(e){return new lN({check:"overwrite",tx:e})}function PN(e,t,r){return new e({type:"array",element:t,...$t(r)})}function zN(e,t,r){return new e({type:"custom",check:"custom",fn:t,...$t(r)})}function UN(e){const t=jN(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(_u(n,r.value,t._zod.def));else{const a=n;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=t),a.continue??(a.continue=!t._zod.def.abort),r.issues.push(_u(a))}},e(r.value,r)));return t}function jN(e,t){const r=new fa({check:"custom",...$t(t)});return r._zod.check=e,r}function E_(e,t){try{var r=e()}catch(n){return t(n)}return r&&r.then?r.then(void 0,t):r}function IN(e,t){for(var r={};e.length;){var n=e[0],a=n.code,i=n.message,l=n.path.join(".");if(!r[l])if("unionErrors"in n){var s=n.unionErrors[0].errors[0];r[l]={message:s.message,type:s.code}}else r[l]={message:i,type:a};if("unionErrors"in n&&n.unionErrors.forEach(function(c){return c.errors.forEach(function(f){return e.push(f)})}),t){var o=r[l].types,u=o&&o[n.code];r[l]=fv(l,t,r,a,u?[].concat(u,n.message):n.message)}e.shift()}return r}function HN(e,t){for(var r={};e.length;){var n=e[0],a=n.code,i=n.message,l=n.path.join(".");if(!r[l])if(n.code==="invalid_union"&&n.errors.length>0){var s=n.errors[0][0];r[l]={message:s.message,type:s.code}}else r[l]={message:i,type:a};if(n.code==="invalid_union"&&n.errors.forEach(function(c){return c.forEach(function(f){return e.push(f)})}),t){var o=r[l].types,u=o&&o[n.code];r[l]=fv(l,t,r,a,u?[].concat(u,n.message):n.message)}e.shift()}return r}function lV(e,t,r){if(r===void 0&&(r={}),function(n){return"_def"in n&&typeof n._def=="object"&&"typeName"in n._def}(e))return function(n,a,i){try{return Promise.resolve(E_(function(){return Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](n,t)).then(function(l){return i.shouldUseNativeValidation&&Ap({},i),{errors:{},values:r.raw?Object.assign({},n):l}})},function(l){if(function(s){return Array.isArray(s?.issues)}(l))return{values:{},errors:a_(IN(l.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw l}))}catch(l){return Promise.reject(l)}};if(function(n){return"_zod"in n&&typeof n._zod=="object"}(e))return function(n,a,i){try{return Promise.resolve(E_(function(){return Promise.resolve((r.mode==="sync"?ID:HD)(e,n,t)).then(function(l){return i.shouldUseNativeValidation&&Ap({},i),{errors:{},values:r.raw?Object.assign({},n):l}})},function(l){if(function(s){return s instanceof xv}(l))return{values:{},errors:a_(HN(l.issues,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw l}))}catch(l){return Promise.reject(l)}};throw new Error("Invalid input: not a Zod schema")}const VN=(e,t)=>{xv.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>jD(e,r)},flatten:{value:r=>UD(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Op,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Op,2)}},isEmpty:{get(){return e.issues.length===0}}})},Mn=Ae("ZodError",VN,{Parent:Error}),GN=X0(Mn),$N=Y0(Mn),XN=q0(Mn),YN=K0(Mn),qN=$D(Mn),KN=XD(Mn),ZN=YD(Mn),WN=qD(Mn),QN=KD(Mn),JN=ZD(Mn),eM=WD(Mn),tM=QD(Mn),or=Ae("ZodType",(e,t)=>(Jt.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(Al(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]})),e.clone=(r,n)=>zi(e,r,n),e.brand=()=>e,e.register=(r,n)=>(r.add(e,n),e),e.parse=(r,n)=>GN(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>XN(e,r,n),e.parseAsync=async(r,n)=>$N(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>YN(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>qN(e,r,n),e.decode=(r,n)=>KN(e,r,n),e.encodeAsync=async(r,n)=>ZN(e,r,n),e.decodeAsync=async(r,n)=>WN(e,r,n),e.safeEncode=(r,n)=>QN(e,r,n),e.safeDecode=(r,n)=>JN(e,r,n),e.safeEncodeAsync=async(r,n)=>eM(e,r,n),e.safeDecodeAsync=async(r,n)=>tM(e,r,n),e.refine=(r,n)=>e.check(OM(r,n)),e.superRefine=r=>e.check(CM(r)),e.overwrite=r=>e.check(BN(r)),e.optional=()=>b_(e),e.nullable=()=>T_(e),e.nullish=()=>b_(T_(e)),e.nonoptional=r=>EM(e,r),e.array=()=>sM(e),e.or=r=>cM([e,r]),e.and=r=>hM(e,r),e.transform=r=>F_(e,mM(r)),e.default=r=>xM(e,r),e.prefault=r=>_M(e,r),e.catch=r=>SM(e,r),e.pipe=r=>F_(e,r),e.readonly=()=>FM(e),e.describe=r=>{const n=e.clone();return Fc.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return Fc.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return Fc.get(e);const n=e.clone();return Fc.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),fb=Ae("ZodNumber",(e,t)=>{ob.init(e,t),or.init(e,t),e.gt=(n,a)=>e.check(x_(n,a)),e.gte=(n,a)=>e.check(ad(n,a)),e.min=(n,a)=>e.check(ad(n,a)),e.lt=(n,a)=>e.check(g_(n,a)),e.lte=(n,a)=>e.check(nd(n,a)),e.max=(n,a)=>e.check(nd(n,a)),e.int=n=>e.check(w_(n)),e.safe=n=>e.check(w_(n)),e.positive=n=>e.check(x_(0,n)),e.nonnegative=n=>e.check(ad(0,n)),e.negative=n=>e.check(g_(0,n)),e.nonpositive=n=>e.check(nd(0,n)),e.multipleOf=(n,a)=>e.check(y_(n,a)),e.step=(n,a)=>e.check(y_(n,a)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null}),rM=Ae("ZodNumberFormat",(e,t)=>{uN.init(e,t),fb.init(e,t)});function w_(e){return DN(rM,e)}const nM=Ae("ZodUnknown",(e,t)=>{cN.init(e,t),or.init(e,t)});function S_(){return NN(nM)}const aM=Ae("ZodNever",(e,t)=>{fN.init(e,t),or.init(e,t)});function iM(e){return MN(aM,e)}const lM=Ae("ZodArray",(e,t)=>{hN.init(e,t),or.init(e,t),e.element=t.element,e.min=(r,n)=>e.check(__(r,n)),e.nonempty=r=>e.check(__(1,r)),e.max=(r,n)=>e.check(kN(r,n)),e.length=(r,n)=>e.check(LN(r,n)),e.unwrap=()=>e.element});function sM(e,t){return PN(lM,e,t)}const oM=Ae("ZodObject",(e,t)=>{pN.init(e,t),or.init(e,t),ft(e,"shape",()=>t.shape),e.keyof=()=>dM(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:S_()}),e.loose=()=>e.clone({...e._zod.def,catchall:S_()}),e.strict=()=>e.clone({...e._zod.def,catchall:iM()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>kD(e,r),e.safeExtend=r=>LD(e,r),e.merge=r=>BD(e,r),e.pick=r=>ND(e,r),e.omit=r=>MD(e,r),e.partial=(...r)=>PD(hb,e,r[0]),e.required=(...r)=>zD(db,e,r[0])});function sV(e,t){const r={type:"object",shape:e??{},...$t(t)};return new oM(r)}const uM=Ae("ZodUnion",(e,t)=>{mN.init(e,t),or.init(e,t),e.options=t.options});function cM(e,t){return new uM({type:"union",options:e,...$t(t)})}const fM=Ae("ZodIntersection",(e,t)=>{vN.init(e,t),or.init(e,t)});function hM(e,t){return new fM({type:"intersection",left:e,right:t})}const Rp=Ae("ZodEnum",(e,t)=>{gN.init(e,t),or.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(n,a)=>{const i={};for(const l of n)if(r.has(l))i[l]=t.entries[l];else throw new Error(`Key ${l} not found in enum`);return new Rp({...t,checks:[],...$t(a),entries:i})},e.exclude=(n,a)=>{const i={...t.entries};for(const l of n)if(r.has(l))delete i[l];else throw new Error(`Key ${l} not found in enum`);return new Rp({...t,checks:[],...$t(a),entries:i})}});function dM(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Rp({type:"enum",entries:r,...$t(t)})}const pM=Ae("ZodTransform",(e,t)=>{xN.init(e,t),or.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new JS(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(_u(i,r.value,t));else{const l=i;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=r.value),l.inst??(l.inst=e),r.issues.push(_u(l))}};const a=t.transform(r.value,r);return a instanceof Promise?a.then(i=>(r.value=i,r)):(r.value=a,r)}});function mM(e){return new pM({type:"transform",transform:e})}const hb=Ae("ZodOptional",(e,t)=>{yN.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType});function b_(e){return new hb({type:"optional",innerType:e})}const vM=Ae("ZodNullable",(e,t)=>{_N.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType});function T_(e){return new vM({type:"nullable",innerType:e})}const gM=Ae("ZodDefault",(e,t)=>{EN.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function xM(e,t){return new gM({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():rb(t)}})}const yM=Ae("ZodPrefault",(e,t)=>{wN.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType});function _M(e,t){return new yM({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():rb(t)}})}const db=Ae("ZodNonOptional",(e,t)=>{SN.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType});function EM(e,t){return new db({type:"nonoptional",innerType:e,...$t(t)})}const wM=Ae("ZodCatch",(e,t)=>{bN.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function SM(e,t){return new wM({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const bM=Ae("ZodPipe",(e,t)=>{TN.init(e,t),or.init(e,t),e.in=t.in,e.out=t.out});function F_(e,t){return new bM({type:"pipe",in:e,out:t})}const TM=Ae("ZodReadonly",(e,t)=>{FN.init(e,t),or.init(e,t),e.unwrap=()=>e._zod.def.innerType});function FM(e){return new TM({type:"readonly",innerType:e})}const AM=Ae("ZodCustom",(e,t)=>{AN.init(e,t),or.init(e,t)});function OM(e,t={}){return zN(AM,e,t)}function CM(e){return UN(e)}function oV(e){return RN(fb,e)}var pb={exports:{}};(function(e,t){(function(r,n){n()})(Dr,function(){function r(u,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function n(u,c,f){var h=new XMLHttpRequest;h.open("GET",u),h.responseType="blob",h.onload=function(){o(h.response,c,f)},h.onerror=function(){console.error("could not download file")},h.send()}function a(u){var c=new XMLHttpRequest;c.open("HEAD",u,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function i(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(c)}}var l=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Dr=="object"&&Dr.global===Dr?Dr:void 0,s=l.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=l.saveAs||(typeof window!="object"||window!==l?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(u,c,f){var h=l.URL||l.webkitURL,d=document.createElement("a");c=c||u.name||"download",d.download=c,d.rel="noopener",typeof u=="string"?(d.href=u,d.origin===location.origin?i(d):a(d.href)?n(u,c,f):i(d,d.target="_blank")):(d.href=h.createObjectURL(u),setTimeout(function(){h.revokeObjectURL(d.href)},4e4),setTimeout(function(){i(d)},0))}:"msSaveOrOpenBlob"in navigator?function(u,c,f){if(c=c||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(r(u,f),c);else if(a(u))n(u,c,f);else{var h=document.createElement("a");h.href=u,h.target="_blank",setTimeout(function(){i(h)})}}:function(u,c,f,h){if(h=h||open("","_blank"),h&&(h.document.title=h.document.body.innerText="downloading..."),typeof u=="string")return n(u,c,f);var d=u.type==="application/octet-stream",p=/constructor/i.test(l.HTMLElement)||l.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||d&&p||s)&&typeof FileReader<"u"){var y=new FileReader;y.onloadend=function(){var x=y.result;x=m?x:x.replace(/^data:[^;]*;/,"data:attachment/file;"),h?h.location.href=x:location=x,h=null},y.readAsDataURL(u)}else{var v=l.URL||l.webkitURL,g=v.createObjectURL(u);h?h.location=g:location.href=g,h=null,setTimeout(function(){v.revokeObjectURL(g)},4e4)}});l.saveAs=o.saveAs=o,e.exports=o})})(pb);var uV=pb.exports;/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Kf={};Kf.version="0.18.5";var mb=1252,RM=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],vb=function(e){RM.indexOf(e)!=-1&&(mb=e)};function DM(){vb(1252)}var Eu=function(e){vb(e)};function NM(){Eu(1200),DM()}var Ac=function(t){return String.fromCharCode(t)},A_=function(t){return String.fromCharCode(t)},Zf,fi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function wu(e){for(var t="",r=0,n=0,a=0,i=0,l=0,s=0,o=0,u=0;u<e.length;)r=e.charCodeAt(u++),i=r>>2,n=e.charCodeAt(u++),l=(r&3)<<4|n>>4,a=e.charCodeAt(u++),s=(n&15)<<2|a>>6,o=a&63,isNaN(n)?s=o=64:isNaN(a)&&(o=64),t+=fi.charAt(i)+fi.charAt(l)+fi.charAt(s)+fi.charAt(o);return t}function Va(e){var t="",r=0,n=0,a=0,i=0,l=0,s=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var u=0;u<e.length;)i=fi.indexOf(e.charAt(u++)),l=fi.indexOf(e.charAt(u++)),r=i<<2|l>>4,t+=String.fromCharCode(r),s=fi.indexOf(e.charAt(u++)),n=(l&15)<<4|s>>2,s!==64&&(t+=String.fromCharCode(n)),o=fi.indexOf(e.charAt(u++)),a=(s&3)<<6|o,o!==64&&(t+=String.fromCharCode(a));return t}var $e=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Ya=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function gl(e){return $e?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function O_(e){return $e?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var $n=function(t){return $e?Ya(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function Z0(e){if(typeof ArrayBuffer>"u")return $n(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function $u(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function MM(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var gr=$e?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:Ya(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(i){return Array.isArray(i)?i:[].slice.call(i)}))};function kM(e){for(var t=[],r=0,n=e.length+250,a=gl(e.length+255),i=0;i<e.length;++i){var l=e.charCodeAt(i);if(l<128)a[r++]=l;else if(l<2048)a[r++]=192|l>>6&31,a[r++]=128|l&63;else if(l>=55296&&l<57344){l=(l&1023)+64;var s=e.charCodeAt(++i)&1023;a[r++]=240|l>>8&7,a[r++]=128|l>>2&63,a[r++]=128|s>>6&15|(l&3)<<4,a[r++]=128|s&63}else a[r++]=224|l>>12&15,a[r++]=128|l>>6&63,a[r++]=128|l&63;r>n&&(t.push(a.slice(0,r)),r=0,a=gl(65535),n=65530)}return t.push(a.slice(0,r)),gr(t)}var Yo=/\u0000/g,Oc=/[\u0001-\u0006]/g;function ws(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Xn(e,t){var r=""+e;return r.length>=t?r:Ft("0",t-r.length)+r}function yv(e,t){var r=""+e;return r.length>=t?r:Ft(" ",t-r.length)+r}function Wf(e,t){var r=""+e;return r.length>=t?r:r+Ft(" ",t-r.length)}function LM(e,t){var r=""+Math.round(e);return r.length>=t?r:Ft("0",t-r.length)+r}function BM(e,t){var r=""+e;return r.length>=t?r:Ft("0",t-r.length)+r}var C_=Math.pow(2,32);function Vl(e,t){if(e>C_||e<-C_)return LM(e,t);var r=Math.round(e);return BM(r,t)}function Qf(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var R_=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],id=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function PM(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var Ot={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},D_={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},zM={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Jf(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,l=1,s=0,o=1,u=0,c=0,f=Math.floor(a);u<t&&(f=Math.floor(a),s=f*l+i,c=f*u+o,!(a-f<5e-8));)a=1/(a-f),i=l,l=s,o=u,u=c;if(c>t&&(u>t?(c=o,s=i):(c=u,s=l)),!r)return[0,n*s,c];var h=Math.floor(n*s/c);return[h,n*s-h*c,c]}function Cc(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,l=[],s={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(n+=1462),s.u>.9999&&(s.u=0,++a==86400&&(s.T=a=0,++n,++s.D)),n===60)l=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)l=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),l=[o.getFullYear(),o.getMonth()+1,o.getDate()],i=o.getDay(),n<60&&(i=(i+6)%7),r&&(i=$M(o,l))}return s.y=l[0],s.m=l[1],s.d=l[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=i,s}var gb=new Date(1899,11,31,0,0,0),UM=gb.getTime(),jM=new Date(1900,2,1,0,0,0);function xb(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=jM&&(r+=24*60*60*1e3),(r-(UM+(e.getTimezoneOffset()-gb.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function _v(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function IM(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function HM(e){var t=e<0?12:11,r=_v(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function VM(e){var t=_v(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function GM(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=HM(e):t===10?r=e.toFixed(10).substr(0,12):r=VM(e),_v(IM(r.toUpperCase()))}function Dp(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):GM(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Di(14,xb(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function $M(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function XM(e,t,r,n){var a="",i=0,l=0,s=r.y,o,u=0;switch(e){case 98:s=r.y+543;case 121:switch(t.length){case 1:case 2:o=s%100,u=2;break;default:o=s%1e4,u=4;break}break;case 109:switch(t.length){case 1:case 2:o=r.m,u=t.length;break;case 3:return id[r.m-1][1];case 5:return id[r.m-1][0];default:return id[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=r.d,u=t.length;break;case 3:return R_[r.q][0];default:return R_[r.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(r.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=r.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=r.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?Xn(r.S,t.length):(n>=2?l=n===3?1e3:100:l=n===1?10:1,i=Math.round(l*(r.S+r.u)),i>=60*l&&(i=0),t==="s"?i===0?"0":""+i/l:(a=Xn(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":o=r.D*24+r.H;break;case"[m]":case"[mm]":o=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":o=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}u=t.length===3?1:2;break;case 101:o=s,u=1;break}var c=u>0?Xn(o,u):"";return c}function hi(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var yb=/%/g;function YM(e,t,r){var n=t.replace(yb,""),a=t.length-n.length;return Ma(e,n,r*Math.pow(10,2*a))+Ft("%",a)}function qM(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Ma(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function _b(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+_b(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var l=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(l-r.length+i):r+="E+"+(l-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,o,u,c){return o+u+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var Eb=/# (\?+)( ?)\/( ?)(\d+)/;function KM(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),l=a-i*n,s=n;return r+(i===0?"":""+i)+" "+(l===0?Ft(" ",e[1].length+1+e[4].length):yv(l,e[1].length)+e[2]+"/"+e[3]+Xn(s,e[4].length))}function ZM(e,t,r){return r+(t===0?"":""+t)+Ft(" ",e[1].length+2+e[4].length)}var wb=/^#*0*\.([0#]+)/,Sb=/\).*[0#]/,bb=/\(###\) ###\\?-####/;function Cr(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function N_(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function M_(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function WM(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function QM(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function yn(e,t,r){if(e.charCodeAt(0)===40&&!t.match(Sb)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?yn("n",n,r):"("+yn("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return qM(e,t,r);if(t.indexOf("%")!==-1)return YM(e,t,r);if(t.indexOf("E")!==-1)return _b(t,r);if(t.charCodeAt(0)===36)return"$"+yn(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,l,s,o=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Vl(o,t.length);if(t.match(/^[#?]+$/))return a=Vl(r,0),a==="0"&&(a=""),a.length>t.length?a:Cr(t.substr(0,t.length-a.length))+a;if(i=t.match(Eb))return KM(i,o,u);if(t.match(/^#+0+$/))return u+Vl(o,t.length-t.indexOf("0"));if(i=t.match(wb))return a=N_(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Cr(i[1])).replace(/\.$/,"."+Cr(i[1])).replace(/\.(\d*)$/,function(p,m){return"."+m+Ft("0",Cr(i[1]).length-m.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+N_(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+hi(Vl(o,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+yn(e,t,-r):hi(""+(Math.floor(r)+WM(r,i[1].length)))+"."+Xn(M_(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return yn(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=ws(yn(e,t.replace(/[\\-]/g,""),r)),l=0,ws(ws(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return l<a.length?a.charAt(l++):p==="0"?"0":""}));if(t.match(bb))return a=yn(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return l=Math.min(i[4].length,7),s=Jf(o,Math.pow(10,l)-1,!1),a=""+u,c=Ma("n",i[1],s[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=Wf(s[2],l),c.length<i[4].length&&(c=Cr(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return l=Math.min(Math.max(i[1].length,i[4].length),7),s=Jf(o,Math.pow(10,l)-1,!0),u+(s[0]||(s[1]?"":"0"))+" "+(s[1]?yv(s[1],l)+i[2]+"/"+i[3]+Wf(s[2],l):Ft(" ",2*l+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=Vl(r,0),t.length<=a.length?a:Cr(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),l=a.indexOf(".");var f=t.indexOf(".")-l,h=t.length-a.length-f;return Cr(t.substr(0,f)+a+t.substr(t.length-h))}if(i=t.match(/^00,000\.([#0]*0)$/))return l=M_(r,i[1].length),r<0?"-"+yn(e,t,-r):hi(QM(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(p){return"00,"+(p.length<3?Xn(0,3-p.length):"")+p})+"."+Xn(l,i[1].length);switch(t){case"###,##0.00":return yn(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=hi(Vl(o,0));return d!=="0"?u+d:"";case"###,###.00":return yn(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return yn(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function JM(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Ma(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function ek(e,t,r){var n=t.replace(yb,""),a=t.length-n.length;return Ma(e,n,r*Math.pow(10,2*a))+Ft("%",a)}function Tb(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Tb(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),!r.match(/[Ee]/)){var l=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(l-r.length+i):r+="E+"+(l-i),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,o,u,c){return o+u+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function Wn(e,t,r){if(e.charCodeAt(0)===40&&!t.match(Sb)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Wn("n",n,r):"("+Wn("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return JM(e,t,r);if(t.indexOf("%")!==-1)return ek(e,t,r);if(t.indexOf("E")!==-1)return Tb(t,r);if(t.charCodeAt(0)===36)return"$"+Wn(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,l,s,o=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Xn(o,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:Cr(t.substr(0,t.length-a.length))+a;if(i=t.match(Eb))return ZM(i,o,u);if(t.match(/^#+0+$/))return u+Xn(o,t.length-t.indexOf("0"));if(i=t.match(wb))return a=(""+r).replace(/^([^\.]+)$/,"$1."+Cr(i[1])).replace(/\.$/,"."+Cr(i[1])),a=a.replace(/\.(\d*)$/,function(p,m){return"."+m+Ft("0",Cr(i[1]).length-m.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+hi(""+o);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Wn(e,t,-r):hi(""+r)+"."+Ft("0",i[1].length);if(i=t.match(/^#,#*,#0/))return Wn(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=ws(Wn(e,t.replace(/[\\-]/g,""),r)),l=0,ws(ws(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return l<a.length?a.charAt(l++):p==="0"?"0":""}));if(t.match(bb))return a=Wn(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return l=Math.min(i[4].length,7),s=Jf(o,Math.pow(10,l)-1,!1),a=""+u,c=Ma("n",i[1],s[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=Wf(s[2],l),c.length<i[4].length&&(c=Cr(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return l=Math.min(Math.max(i[1].length,i[4].length),7),s=Jf(o,Math.pow(10,l)-1,!0),u+(s[0]||(s[1]?"":"0"))+" "+(s[1]?yv(s[1],l)+i[2]+"/"+i[3]+Wf(s[2],l):Ft(" ",2*l+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:Cr(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),l=a.indexOf(".");var f=t.indexOf(".")-l,h=t.length-a.length-f;return Cr(t.substr(0,f)+a+t.substr(t.length-h))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Wn(e,t,-r):hi(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(p){return"00,"+(p.length<3?Xn(0,3-p.length):"")+p})+"."+Xn(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=hi(""+o);return d!=="0"?u+d:"";default:if(t.match(/\.[0#?]*$/))return Wn(e,t.slice(0,t.lastIndexOf(".")),r)+Cr(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Ma(e,t,r){return(r|0)===r?Wn(e,t,r):yn(e,t,r)}function tk(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var Fb=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ab(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":Qf(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(Fb))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function rk(e,t,r,n){for(var a=[],i="",l=0,s="",o="t",u,c,f,h="H";l<e.length;)switch(s=e.charAt(l)){case"G":if(!Qf(e,l))throw new Error("unrecognized character "+s+" in "+e);a[a.length]={t:"G",v:"General"},l+=7;break;case'"':for(i="";(f=e.charCodeAt(++l))!==34&&l<e.length;)i+=String.fromCharCode(f);a[a.length]={t:"t",v:i},++l;break;case"\\":var d=e.charAt(++l),p=d==="("||d===")"?d:"t";a[a.length]={t:p,v:d},++l;break;case"_":a[a.length]={t:"t",v:" "},l+=2;break;case"@":a[a.length]={t:"T",v:t},++l;break;case"B":case"b":if(e.charAt(l+1)==="1"||e.charAt(l+1)==="2"){if(u==null&&(u=Cc(t,r,e.charAt(l+1)==="2"),u==null))return"";a[a.length]={t:"X",v:e.substr(l,2)},o=s,l+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":s=s.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||u==null&&(u=Cc(t,r),u==null))return"";for(i=s;++l<e.length&&e.charAt(l).toLowerCase()===s;)i+=s;s==="m"&&o.toLowerCase()==="h"&&(s="M"),s==="h"&&(s=h),a[a.length]={t:s,v:i},o=s;break;case"A":case"a":case"上":var m={t:s,v:s};if(u==null&&(u=Cc(t,r)),e.substr(l,3).toUpperCase()==="A/P"?(u!=null&&(m.v=u.H>=12?"P":"A"),m.t="T",h="h",l+=3):e.substr(l,5).toUpperCase()==="AM/PM"?(u!=null&&(m.v=u.H>=12?"PM":"AM"),m.t="T",l+=5,h="h"):e.substr(l,5).toUpperCase()==="上午/下午"?(u!=null&&(m.v=u.H>=12?"下午":"上午"),m.t="T",l+=5,h="h"):(m.t="t",++l),u==null&&m.t==="T")return"";a[a.length]=m,o=s;break;case"[":for(i=s;e.charAt(l++)!=="]"&&l<e.length;)i+=e.charAt(l);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(Fb)){if(u==null&&(u=Cc(t,r),u==null))return"";a[a.length]={t:"Z",v:i.toLowerCase()},o=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ab(e)||(a[a.length]={t:"t",v:i}));break;case".":if(u!=null){for(i=s;++l<e.length&&(s=e.charAt(l))==="0";)i+=s;a[a.length]={t:"s",v:i};break}case"0":case"#":for(i=s;++l<e.length&&"0#?.,E+-%".indexOf(s=e.charAt(l))>-1;)i+=s;a[a.length]={t:"n",v:i};break;case"?":for(i=s;e.charAt(++l)===s;)i+=s;a[a.length]={t:s,v:i},o=s;break;case"*":++l,(e.charAt(l)==" "||e.charAt(l)=="*")&&++l;break;case"(":case")":a[a.length]={t:n===1?"t":s,v:s},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=s;l<e.length&&"0123456789".indexOf(e.charAt(++l))>-1;)i+=e.charAt(l);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:s,v:s},++l;break;case"$":a[a.length]={t:"t",v:"$"},++l;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(s)===-1)throw new Error("unrecognized character "+s+" in "+e);a[a.length]={t:"t",v:s},++l;break}var y=0,v=0,g;for(l=a.length-1,o="t";l>=0;--l)switch(a[l].t){case"h":case"H":a[l].t=h,o="h",y<1&&(y=1);break;case"s":(g=a[l].v.match(/\.0+$/))&&(v=Math.max(v,g[0].length-1)),y<3&&(y=3);case"d":case"y":case"M":case"e":o=a[l].t;break;case"m":o==="s"&&(a[l].t="M",y<2&&(y=2));break;case"X":break;case"Z":y<1&&a[l].v.match(/[Hh]/)&&(y=1),y<2&&a[l].v.match(/[Mm]/)&&(y=2),y<3&&a[l].v.match(/[Ss]/)&&(y=3)}switch(y){case 0:break;case 1:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M),u.M>=60&&(u.M=0,++u.H);break;case 2:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M);break}var x="",_;for(l=0;l<a.length;++l)switch(a[l].t){case"t":case"T":case" ":case"D":break;case"X":a[l].v="",a[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":a[l].v=XM(a[l].t.charCodeAt(0),a[l].v,u,v),a[l].t="t";break;case"n":case"?":for(_=l+1;a[_]!=null&&((s=a[_].t)==="?"||s==="D"||(s===" "||s==="t")&&a[_+1]!=null&&(a[_+1].t==="?"||a[_+1].t==="t"&&a[_+1].v==="/")||a[l].t==="("&&(s===" "||s==="n"||s===")")||s==="t"&&(a[_].v==="/"||a[_].v===" "&&a[_+1]!=null&&a[_+1].t=="?"));)a[l].v+=a[_].v,a[_]={v:"",t:";"},++_;x+=a[l].v,l=_-1;break;case"G":a[l].t="t",a[l].v=Dp(t,r);break}var w="",T,E;if(x.length>0){x.charCodeAt(0)==40?(T=t<0&&x.charCodeAt(0)===45?-t:t,E=Ma("n",x,T)):(T=t<0&&n>1?-t:t,E=Ma("n",x,T),T<0&&a[0]&&a[0].t=="t"&&(E=E.substr(1),a[0].v="-"+a[0].v)),_=E.length-1;var O=a.length;for(l=0;l<a.length;++l)if(a[l]!=null&&a[l].t!="t"&&a[l].v.indexOf(".")>-1){O=l;break}var F=a.length;if(O===a.length&&E.indexOf("E")===-1){for(l=a.length-1;l>=0;--l)a[l]==null||"n?".indexOf(a[l].t)===-1||(_>=a[l].v.length-1?(_-=a[l].v.length,a[l].v=E.substr(_+1,a[l].v.length)):_<0?a[l].v="":(a[l].v=E.substr(0,_+1),_=-1),a[l].t="t",F=l);_>=0&&F<a.length&&(a[F].v=E.substr(0,_+1)+a[F].v)}else if(O!==a.length&&E.indexOf("E")===-1){for(_=E.indexOf(".")-1,l=O;l>=0;--l)if(!(a[l]==null||"n?".indexOf(a[l].t)===-1)){for(c=a[l].v.indexOf(".")>-1&&l===O?a[l].v.indexOf(".")-1:a[l].v.length-1,w=a[l].v.substr(c+1);c>=0;--c)_>=0&&(a[l].v.charAt(c)==="0"||a[l].v.charAt(c)==="#")&&(w=E.charAt(_--)+w);a[l].v=w,a[l].t="t",F=l}for(_>=0&&F<a.length&&(a[F].v=E.substr(0,_+1)+a[F].v),_=E.indexOf(".")+1,l=O;l<a.length;++l)if(!(a[l]==null||"n?(".indexOf(a[l].t)===-1&&l!==O)){for(c=a[l].v.indexOf(".")>-1&&l===O?a[l].v.indexOf(".")+1:0,w=a[l].v.substr(0,c);c<a[l].v.length;++c)_<E.length&&(w+=E.charAt(_++));a[l].v=w,a[l].t="t",F=l}}}for(l=0;l<a.length;++l)a[l]!=null&&"n?".indexOf(a[l].t)>-1&&(T=n>1&&t<0&&l>0&&a[l-1].v==="-"?-t:t,a[l].v=Ma(a[l].t,a[l].v,T),a[l].t="t");var R="";for(l=0;l!==a.length;++l)a[l]!=null&&(R+=a[l].v);return R}var k_=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function L_(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function nk(e,t){var r=tk(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var l=r[0].match(k_),s=r[1].match(k_);return L_(t,l)?[n,r[0]]:L_(t,s)?[n,r[1]]:[n,r[l!=null&&s!=null?2:1]]}return[n,i]}function Di(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:Ot)[e],n==null&&(n=r.table&&r.table[D_[e]]||Ot[D_[e]]),n==null&&(n=zM[e]||"General");break}if(Qf(n,0))return Dp(t,r);t instanceof Date&&(t=xb(t,r.date1904));var a=nk(n,t);if(Qf(a[1]))return Dp(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return rk(a[1],t,r,a[0])}function Ob(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(Ot[r]==null){t<0&&(t=r);continue}if(Ot[r]==e){t=r;break}}t<0&&(t=391)}return Ot[t]=e,t}function W0(e){for(var t=0;t!=392;++t)e[t]!==void 0&&Ob(e[t],t)}function Q0(){Ot=PM()}var Cb=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function ak(e){var t=typeof e=="number"?Ot[e]:e;return t=t.replace(Cb,"(\\d+)"),new RegExp("^"+t+"$")}function ik(e,t,r){var n=-1,a=-1,i=-1,l=-1,s=-1,o=-1;(t.match(Cb)||[]).forEach(function(f,h){var d=parseInt(r[h+1],10);switch(f.toLowerCase().charAt(0)){case"y":n=d;break;case"d":i=d;break;case"h":l=d;break;case"s":o=d;break;case"m":l>=0?s=d:a=d;break}}),o>=0&&s==-1&&a>=0&&(s=a,a=-1);var u=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);u.length==7&&(u="0"+u),u.length==8&&(u="20"+u);var c=("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return l==-1&&s==-1&&o==-1?u:n==-1&&a==-1&&i==-1?c:u+"T"+c}var lk=function(){var e={};e.version="1.2.0";function t(){for(var E=0,O=new Array(256),F=0;F!=256;++F)E=F,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,O[F]=E;return typeof Int32Array<"u"?new Int32Array(O):O}var r=t();function n(E){var O=0,F=0,R=0,z=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(R=0;R!=256;++R)z[R]=E[R];for(R=0;R!=256;++R)for(F=E[R],O=256+R;O<4096;O+=256)F=z[O]=F>>>8^E[F&255];var j=[];for(R=1;R!=16;++R)j[R-1]=typeof Int32Array<"u"?z.subarray(R*256,R*256+256):z.slice(R*256,R*256+256);return j}var a=n(r),i=a[0],l=a[1],s=a[2],o=a[3],u=a[4],c=a[5],f=a[6],h=a[7],d=a[8],p=a[9],m=a[10],y=a[11],v=a[12],g=a[13],x=a[14];function _(E,O){for(var F=O^-1,R=0,z=E.length;R<z;)F=F>>>8^r[(F^E.charCodeAt(R++))&255];return~F}function w(E,O){for(var F=O^-1,R=E.length-15,z=0;z<R;)F=x[E[z++]^F&255]^g[E[z++]^F>>8&255]^v[E[z++]^F>>16&255]^y[E[z++]^F>>>24]^m[E[z++]]^p[E[z++]]^d[E[z++]]^h[E[z++]]^f[E[z++]]^c[E[z++]]^u[E[z++]]^o[E[z++]]^s[E[z++]]^l[E[z++]]^i[E[z++]]^r[E[z++]];for(R+=15;z<R;)F=F>>>8^r[(F^E[z++])&255];return~F}function T(E,O){for(var F=O^-1,R=0,z=E.length,j=0,G=0;R<z;)j=E.charCodeAt(R++),j<128?F=F>>>8^r[(F^j)&255]:j<2048?(F=F>>>8^r[(F^(192|j>>6&31))&255],F=F>>>8^r[(F^(128|j&63))&255]):j>=55296&&j<57344?(j=(j&1023)+64,G=E.charCodeAt(R++)&1023,F=F>>>8^r[(F^(240|j>>8&7))&255],F=F>>>8^r[(F^(128|j>>2&63))&255],F=F>>>8^r[(F^(128|G>>6&15|(j&3)<<4))&255],F=F>>>8^r[(F^(128|G&63))&255]):(F=F>>>8^r[(F^(224|j>>12&15))&255],F=F>>>8^r[(F^(128|j>>6&63))&255],F=F>>>8^r[(F^(128|j&63))&255]);return~F}return e.table=r,e.bstr=_,e.buf=w,e.str=T,e}(),lt=function(){var t={};t.version="1.2.1";function r(S,D){for(var A=S.split("/"),C=D.split("/"),N=0,k=0,Z=Math.min(A.length,C.length);N<Z;++N){if(k=A[N].length-C[N].length)return k;if(A[N]!=C[N])return A[N]<C[N]?-1:1}return A.length-C.length}function n(S){if(S.charAt(S.length-1)=="/")return S.slice(0,-1).indexOf("/")===-1?S:n(S.slice(0,-1));var D=S.lastIndexOf("/");return D===-1?S:S.slice(0,D+1)}function a(S){if(S.charAt(S.length-1)=="/")return a(S.slice(0,-1));var D=S.lastIndexOf("/");return D===-1?S:S.slice(D+1)}function i(S,D){typeof D=="string"&&(D=new Date(D));var A=D.getHours();A=A<<6|D.getMinutes(),A=A<<5|D.getSeconds()>>>1,S.write_shift(2,A);var C=D.getFullYear()-1980;C=C<<4|D.getMonth()+1,C=C<<5|D.getDate(),S.write_shift(2,C)}function l(S){var D=S.read_shift(2)&65535,A=S.read_shift(2)&65535,C=new Date,N=A&31;A>>>=5;var k=A&15;A>>>=4,C.setMilliseconds(0),C.setFullYear(A+1980),C.setMonth(k-1),C.setDate(N);var Z=D&31;D>>>=5;var se=D&63;return D>>>=6,C.setHours(D),C.setMinutes(se),C.setSeconds(Z<<1),C}function s(S){Qr(S,0);for(var D={},A=0;S.l<=S.length-4;){var C=S.read_shift(2),N=S.read_shift(2),k=S.l+N,Z={};switch(C){case 21589:A=S.read_shift(1),A&1&&(Z.mtime=S.read_shift(4)),N>5&&(A&2&&(Z.atime=S.read_shift(4)),A&4&&(Z.ctime=S.read_shift(4))),Z.mtime&&(Z.mt=new Date(Z.mtime*1e3));break}S.l=k,D[C]=Z}return D}var o;function u(){return o||(o={})}function c(S,D){if(S[0]==80&&S[1]==75)return tr(S,D);if((S[0]|32)==109&&(S[1]|32)==105)return lT(S,D);if(S.length<512)throw new Error("CFB file size "+S.length+" < 512");var A=3,C=512,N=0,k=0,Z=0,se=0,K=0,J=[],te=S.slice(0,512);Qr(te,0);var pe=f(te);switch(A=pe[0],A){case 3:C=512;break;case 4:C=4096;break;case 0:if(pe[1]==0)return tr(S,D);default:throw new Error("Major Version: Expected 3 or 4 saw "+A)}C!==512&&(te=S.slice(0,C),Qr(te,28));var Ee=S.slice(0,C);h(te,A);var Te=te.read_shift(4,"i");if(A===3&&Te!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Te);te.l+=4,Z=te.read_shift(4,"i"),te.l+=4,te.chk("00100000","Mini Stream Cutoff Size: "),se=te.read_shift(4,"i"),N=te.read_shift(4,"i"),K=te.read_shift(4,"i"),k=te.read_shift(4,"i");for(var ge=-1,be=0;be<109&&(ge=te.read_shift(4,"i"),!(ge<0));++be)J[be]=ge;var Me=d(S,C);y(K,k,Me,C,J);var Et=g(Me,Z,J,C);Et[Z].name="!Directory",N>0&&se!==G&&(Et[se].name="!MiniFAT"),Et[J[0]].name="!FAT",Et.fat_addrs=J,Et.ssz=C;var wt={},Sr=[],eo=[],to=[];x(Z,Et,Me,Sr,N,wt,eo,se),p(eo,to,Sr),Sr.shift();var ro={FileIndex:eo,FullPaths:to};return D&&D.raw&&(ro.raw={header:Ee,sectors:Me}),ro}function f(S){if(S[S.l]==80&&S[S.l+1]==75)return[0,0];S.chk(ce,"Header Signature: "),S.l+=16;var D=S.read_shift(2,"u");return[S.read_shift(2,"u"),D]}function h(S,D){var A=9;switch(S.l+=2,A=S.read_shift(2)){case 9:if(D!=3)throw new Error("Sector Shift: Expected 9 saw "+A);break;case 12:if(D!=4)throw new Error("Sector Shift: Expected 12 saw "+A);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+A)}S.chk("0600","Mini Sector Shift: "),S.chk("000000000000","Reserved: ")}function d(S,D){for(var A=Math.ceil(S.length/D)-1,C=[],N=1;N<A;++N)C[N-1]=S.slice(N*D,(N+1)*D);return C[A-1]=S.slice(A*D),C}function p(S,D,A){for(var C=0,N=0,k=0,Z=0,se=0,K=A.length,J=[],te=[];C<K;++C)J[C]=te[C]=C,D[C]=A[C];for(;se<te.length;++se)C=te[se],N=S[C].L,k=S[C].R,Z=S[C].C,J[C]===C&&(N!==-1&&J[N]!==N&&(J[C]=J[N]),k!==-1&&J[k]!==k&&(J[C]=J[k])),Z!==-1&&(J[Z]=C),N!==-1&&C!=J[C]&&(J[N]=J[C],te.lastIndexOf(N)<se&&te.push(N)),k!==-1&&C!=J[C]&&(J[k]=J[C],te.lastIndexOf(k)<se&&te.push(k));for(C=1;C<K;++C)J[C]===C&&(k!==-1&&J[k]!==k?J[C]=J[k]:N!==-1&&J[N]!==N&&(J[C]=J[N]));for(C=1;C<K;++C)if(S[C].type!==0){if(se=C,se!=J[se])do se=J[se],D[C]=D[se]+"/"+D[C];while(se!==0&&J[se]!==-1&&se!=J[se]);J[C]=-1}for(D[0]+="/",C=1;C<K;++C)S[C].type!==2&&(D[C]+="/")}function m(S,D,A){for(var C=S.start,N=S.size,k=[],Z=C;A&&N>0&&Z>=0;)k.push(D.slice(Z*j,Z*j+j)),N-=j,Z=Zi(A,Z*4);return k.length===0?ie(0):gr(k).slice(0,S.size)}function y(S,D,A,C,N){var k=G;if(S===G){if(D!==0)throw new Error("DIFAT chain shorter than expected")}else if(S!==-1){var Z=A[S],se=(C>>>2)-1;if(!Z)return;for(var K=0;K<se&&(k=Zi(Z,K*4))!==G;++K)N.push(k);y(Zi(Z,C-4),D-1,A,C,N)}}function v(S,D,A,C,N){var k=[],Z=[];N||(N=[]);var se=C-1,K=0,J=0;for(K=D;K>=0;){N[K]=!0,k[k.length]=K,Z.push(S[K]);var te=A[Math.floor(K*4/C)];if(J=K*4&se,C<4+J)throw new Error("FAT boundary crossed: "+K+" 4 "+C);if(!S[te])break;K=Zi(S[te],J)}return{nodes:k,data:V_([Z])}}function g(S,D,A,C){var N=S.length,k=[],Z=[],se=[],K=[],J=C-1,te=0,pe=0,Ee=0,Te=0;for(te=0;te<N;++te)if(se=[],Ee=te+D,Ee>=N&&(Ee-=N),!Z[Ee]){K=[];var ge=[];for(pe=Ee;pe>=0;){ge[pe]=!0,Z[pe]=!0,se[se.length]=pe,K.push(S[pe]);var be=A[Math.floor(pe*4/C)];if(Te=pe*4&J,C<4+Te)throw new Error("FAT boundary crossed: "+pe+" 4 "+C);if(!S[be]||(pe=Zi(S[be],Te),ge[pe]))break}k[Ee]={nodes:se,data:V_([K])}}return k}function x(S,D,A,C,N,k,Z,se){for(var K=0,J=C.length?2:0,te=D[S].data,pe=0,Ee=0,Te;pe<te.length;pe+=128){var ge=te.slice(pe,pe+128);Qr(ge,64),Ee=ge.read_shift(2),Te=Tv(ge,0,Ee-J),C.push(Te);var be={name:Te,type:ge.read_shift(1),color:ge.read_shift(1),L:ge.read_shift(4,"i"),R:ge.read_shift(4,"i"),C:ge.read_shift(4,"i"),clsid:ge.read_shift(16),state:ge.read_shift(4,"i"),start:0,size:0},Me=ge.read_shift(2)+ge.read_shift(2)+ge.read_shift(2)+ge.read_shift(2);Me!==0&&(be.ct=_(ge,ge.l-8));var Et=ge.read_shift(2)+ge.read_shift(2)+ge.read_shift(2)+ge.read_shift(2);Et!==0&&(be.mt=_(ge,ge.l-8)),be.start=ge.read_shift(4,"i"),be.size=ge.read_shift(4,"i"),be.size<0&&be.start<0&&(be.size=be.type=0,be.start=G,be.name=""),be.type===5?(K=be.start,N>0&&K!==G&&(D[K].name="!StreamData")):be.size>=4096?(be.storage="fat",D[be.start]===void 0&&(D[be.start]=v(A,be.start,D.fat_addrs,D.ssz)),D[be.start].name=be.name,be.content=D[be.start].data.slice(0,be.size)):(be.storage="minifat",be.size<0?be.size=0:K!==G&&be.start!==G&&D[K]&&(be.content=m(be,D[K].data,(D[se]||{}).data))),be.content&&Qr(be.content,0),k[Te]=be,Z.push(be)}}function _(S,D){return new Date((tn(S,D+4)/1e7*Math.pow(2,32)+tn(S,D)/1e7-11644473600)*1e3)}function w(S,D){return u(),c(o.readFileSync(S),D)}function T(S,D){var A=D&&D.type;switch(A||$e&&Buffer.isBuffer(S)&&(A="buffer"),A||"base64"){case"file":return w(S,D);case"base64":return c($n(Va(S)),D);case"binary":return c($n(S),D)}return c(S,D)}function E(S,D){var A=D||{},C=A.root||"Root Entry";if(S.FullPaths||(S.FullPaths=[]),S.FileIndex||(S.FileIndex=[]),S.FullPaths.length!==S.FileIndex.length)throw new Error("inconsistent CFB structure");S.FullPaths.length===0&&(S.FullPaths[0]=C+"/",S.FileIndex[0]={name:C,type:5}),A.CLSID&&(S.FileIndex[0].clsid=A.CLSID),O(S)}function O(S){var D="Sh33tJ5";if(!lt.find(S,"/"+D)){var A=ie(4);A[0]=55,A[1]=A[3]=50,A[2]=54,S.FileIndex.push({name:D,type:2,content:A,size:4,L:69,R:69,C:69}),S.FullPaths.push(S.FullPaths[0]+D),F(S)}}function F(S,D){E(S);for(var A=!1,C=!1,N=S.FullPaths.length-1;N>=0;--N){var k=S.FileIndex[N];switch(k.type){case 0:C?A=!0:(S.FileIndex.pop(),S.FullPaths.pop());break;case 1:case 2:case 5:C=!0,isNaN(k.R*k.L*k.C)&&(A=!0),k.R>-1&&k.L>-1&&k.R==k.L&&(A=!0);break;default:A=!0;break}}if(!(!A&&!D)){var Z=new Date(1987,1,19),se=0,K=Object.create?Object.create(null):{},J=[];for(N=0;N<S.FullPaths.length;++N)K[S.FullPaths[N]]=!0,S.FileIndex[N].type!==0&&J.push([S.FullPaths[N],S.FileIndex[N]]);for(N=0;N<J.length;++N){var te=n(J[N][0]);C=K[te],C||(J.push([te,{name:a(te).replace("/",""),type:1,clsid:U,ct:Z,mt:Z,content:null}]),K[te]=!0)}for(J.sort(function(Te,ge){return r(Te[0],ge[0])}),S.FullPaths=[],S.FileIndex=[],N=0;N<J.length;++N)S.FullPaths[N]=J[N][0],S.FileIndex[N]=J[N][1];for(N=0;N<J.length;++N){var pe=S.FileIndex[N],Ee=S.FullPaths[N];if(pe.name=a(Ee).replace("/",""),pe.L=pe.R=pe.C=-(pe.color=1),pe.size=pe.content?pe.content.length:0,pe.start=0,pe.clsid=pe.clsid||U,N===0)pe.C=J.length>1?1:-1,pe.size=0,pe.type=5;else if(Ee.slice(-1)=="/"){for(se=N+1;se<J.length&&n(S.FullPaths[se])!=Ee;++se);for(pe.C=se>=J.length?-1:se,se=N+1;se<J.length&&n(S.FullPaths[se])!=n(Ee);++se);pe.R=se>=J.length?-1:se,pe.type=1}else n(S.FullPaths[N+1]||"")==n(Ee)&&(pe.R=N+1),pe.type=2}}}function R(S,D){var A=D||{};if(A.fileType=="mad")return sT(S,A);switch(F(S),A.fileType){case"zip":return cr(S,A)}var C=function(Te){for(var ge=0,be=0,Me=0;Me<Te.FileIndex.length;++Me){var Et=Te.FileIndex[Me];if(Et.content){var wt=Et.content.length;wt>0&&(wt<4096?ge+=wt+63>>6:be+=wt+511>>9)}}for(var Sr=Te.FullPaths.length+3>>2,eo=ge+7>>3,to=ge+127>>7,ro=eo+be+Sr+to,ji=ro+127>>7,ih=ji<=109?0:Math.ceil((ji-109)/127);ro+ji+ih+127>>7>ji;)ih=++ji<=109?0:Math.ceil((ji-109)/127);var ha=[1,ih,ji,to,Sr,be,ge,0];return Te.FileIndex[0].size=ge<<6,ha[7]=(Te.FileIndex[0].start=ha[0]+ha[1]+ha[2]+ha[3]+ha[4]+ha[5])+(ha[6]+7>>3),ha}(S),N=ie(C[7]<<9),k=0,Z=0;{for(k=0;k<8;++k)N.write_shift(1,L[k]);for(k=0;k<8;++k)N.write_shift(2,0);for(N.write_shift(2,62),N.write_shift(2,3),N.write_shift(2,65534),N.write_shift(2,9),N.write_shift(2,6),k=0;k<3;++k)N.write_shift(2,0);for(N.write_shift(4,0),N.write_shift(4,C[2]),N.write_shift(4,C[0]+C[1]+C[2]+C[3]-1),N.write_shift(4,0),N.write_shift(4,4096),N.write_shift(4,C[3]?C[0]+C[1]+C[2]-1:G),N.write_shift(4,C[3]),N.write_shift(-4,C[1]?C[0]-1:G),N.write_shift(4,C[1]),k=0;k<109;++k)N.write_shift(-4,k<C[2]?C[1]+k:-1)}if(C[1])for(Z=0;Z<C[1];++Z){for(;k<236+Z*127;++k)N.write_shift(-4,k<C[2]?C[1]+k:-1);N.write_shift(-4,Z===C[1]-1?G:Z+1)}var se=function(Te){for(Z+=Te;k<Z-1;++k)N.write_shift(-4,k+1);Te&&(++k,N.write_shift(-4,G))};for(Z=k=0,Z+=C[1];k<Z;++k)N.write_shift(-4,ee.DIFSECT);for(Z+=C[2];k<Z;++k)N.write_shift(-4,ee.FATSECT);se(C[3]),se(C[4]);for(var K=0,J=0,te=S.FileIndex[0];K<S.FileIndex.length;++K)te=S.FileIndex[K],te.content&&(J=te.content.length,!(J<4096)&&(te.start=Z,se(J+511>>9)));for(se(C[6]+7>>3);N.l&511;)N.write_shift(-4,ee.ENDOFCHAIN);for(Z=k=0,K=0;K<S.FileIndex.length;++K)te=S.FileIndex[K],te.content&&(J=te.content.length,!(!J||J>=4096)&&(te.start=Z,se(J+63>>6)));for(;N.l&511;)N.write_shift(-4,ee.ENDOFCHAIN);for(k=0;k<C[4]<<2;++k){var pe=S.FullPaths[k];if(!pe||pe.length===0){for(K=0;K<17;++K)N.write_shift(4,0);for(K=0;K<3;++K)N.write_shift(4,-1);for(K=0;K<12;++K)N.write_shift(4,0);continue}te=S.FileIndex[k],k===0&&(te.start=te.size?te.start-1:G);var Ee=k===0&&A.root||te.name;if(J=2*(Ee.length+1),N.write_shift(64,Ee,"utf16le"),N.write_shift(2,J),N.write_shift(1,te.type),N.write_shift(1,te.color),N.write_shift(-4,te.L),N.write_shift(-4,te.R),N.write_shift(-4,te.C),te.clsid)N.write_shift(16,te.clsid,"hex");else for(K=0;K<4;++K)N.write_shift(4,0);N.write_shift(4,te.state||0),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,0),N.write_shift(4,te.start),N.write_shift(4,te.size),N.write_shift(4,0)}for(k=1;k<S.FileIndex.length;++k)if(te=S.FileIndex[k],te.size>=4096)if(N.l=te.start+1<<9,$e&&Buffer.isBuffer(te.content))te.content.copy(N,N.l,0,te.size),N.l+=te.size+511&-512;else{for(K=0;K<te.size;++K)N.write_shift(1,te.content[K]);for(;K&511;++K)N.write_shift(1,0)}for(k=1;k<S.FileIndex.length;++k)if(te=S.FileIndex[k],te.size>0&&te.size<4096)if($e&&Buffer.isBuffer(te.content))te.content.copy(N,N.l,0,te.size),N.l+=te.size+63&-64;else{for(K=0;K<te.size;++K)N.write_shift(1,te.content[K]);for(;K&63;++K)N.write_shift(1,0)}if($e)N.l=N.length;else for(;N.l<N.length;)N.write_shift(1,0);return N}function z(S,D){var A=S.FullPaths.map(function(K){return K.toUpperCase()}),C=A.map(function(K){var J=K.split("/");return J[J.length-(K.slice(-1)=="/"?2:1)]}),N=!1;D.charCodeAt(0)===47?(N=!0,D=A[0].slice(0,-1)+D):N=D.indexOf("/")!==-1;var k=D.toUpperCase(),Z=N===!0?A.indexOf(k):C.indexOf(k);if(Z!==-1)return S.FileIndex[Z];var se=!k.match(Oc);for(k=k.replace(Yo,""),se&&(k=k.replace(Oc,"!")),Z=0;Z<A.length;++Z)if((se?A[Z].replace(Oc,"!"):A[Z]).replace(Yo,"")==k||(se?C[Z].replace(Oc,"!"):C[Z]).replace(Yo,"")==k)return S.FileIndex[Z];return null}var j=64,G=-2,ce="d0cf11e0a1b11ae1",L=[208,207,17,224,161,177,26,225],U="00000000000000000000000000000000",ee={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:G,FREESECT:-1,HEADER_SIGNATURE:ce,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:U,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function oe(S,D,A){u();var C=R(S,A);o.writeFileSync(D,C)}function de(S){for(var D=new Array(S.length),A=0;A<S.length;++A)D[A]=String.fromCharCode(S[A]);return D.join("")}function fe(S,D){var A=R(S,D);switch(D&&D.type||"buffer"){case"file":return u(),o.writeFileSync(D.filename,A),A;case"binary":return typeof A=="string"?A:de(A);case"base64":return wu(typeof A=="string"?A:de(A));case"buffer":if($e)return Buffer.isBuffer(A)?A:Ya(A);case"array":return typeof A=="string"?$n(A):A}return A}var Fe;function B(S){try{var D=S.InflateRaw,A=new D;if(A._processChunk(new Uint8Array([3,0]),A._finishFlushFlag),A.bytesRead)Fe=S;else throw new Error("zlib does not expose bytesRead")}catch(C){console.error("cannot use native zlib: "+(C.message||C))}}function H(S,D){if(!Fe)return Rt(S,D);var A=Fe.InflateRaw,C=new A,N=C._processChunk(S.slice(S.l),C._finishFlushFlag);return S.l+=C.bytesRead,N}function I(S){return Fe?Fe.deflateRawSync(S):xt(S)}var V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],re=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],ve=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function Q(S){var D=(S<<1|S<<11)&139536|(S<<5|S<<15)&558144;return(D>>16|D>>8|D)&255}for(var W=typeof Uint8Array<"u",q=W?new Uint8Array(256):[],me=0;me<256;++me)q[me]=Q(me);function Ce(S,D){var A=q[S&255];return D<=8?A>>>8-D:(A=A<<8|q[S>>8&255],D<=16?A>>>16-D:(A=A<<8|q[S>>16&255],A>>>24-D))}function Ge(S,D){var A=D&7,C=D>>>3;return(S[C]|(A<=6?0:S[C+1]<<8))>>>A&3}function Re(S,D){var A=D&7,C=D>>>3;return(S[C]|(A<=5?0:S[C+1]<<8))>>>A&7}function ot(S,D){var A=D&7,C=D>>>3;return(S[C]|(A<=4?0:S[C+1]<<8))>>>A&15}function Ie(S,D){var A=D&7,C=D>>>3;return(S[C]|(A<=3?0:S[C+1]<<8))>>>A&31}function _e(S,D){var A=D&7,C=D>>>3;return(S[C]|(A<=1?0:S[C+1]<<8))>>>A&127}function ht(S,D,A){var C=D&7,N=D>>>3,k=(1<<A)-1,Z=S[N]>>>C;return A<8-C||(Z|=S[N+1]<<8-C,A<16-C)||(Z|=S[N+2]<<16-C,A<24-C)||(Z|=S[N+3]<<24-C),Z&k}function nt(S,D,A){var C=D&7,N=D>>>3;return C<=5?S[N]|=(A&7)<<C:(S[N]|=A<<C&255,S[N+1]=(A&7)>>8-C),D+3}function M(S,D,A){var C=D&7,N=D>>>3;return A=(A&1)<<C,S[N]|=A,D+1}function X(S,D,A){var C=D&7,N=D>>>3;return A<<=C,S[N]|=A&255,A>>>=8,S[N+1]=A,D+8}function Y(S,D,A){var C=D&7,N=D>>>3;return A<<=C,S[N]|=A&255,A>>>=8,S[N+1]=A&255,S[N+2]=A>>>8,D+16}function ae(S,D){var A=S.length,C=2*A>D?2*A:D+5,N=0;if(A>=D)return S;if($e){var k=O_(C);if(S.copy)S.copy(k);else for(;N<S.length;++N)k[N]=S[N];return k}else if(W){var Z=new Uint8Array(C);if(Z.set)Z.set(S);else for(;N<A;++N)Z[N]=S[N];return Z}return S.length=C,S}function le(S){for(var D=new Array(S),A=0;A<S;++A)D[A]=0;return D}function ne(S,D,A){var C=1,N=0,k=0,Z=0,se=0,K=S.length,J=W?new Uint16Array(32):le(32);for(k=0;k<32;++k)J[k]=0;for(k=K;k<A;++k)S[k]=0;K=S.length;var te=W?new Uint16Array(K):le(K);for(k=0;k<K;++k)J[N=S[k]]++,C<N&&(C=N),te[k]=0;for(J[0]=0,k=1;k<=C;++k)J[k+16]=se=se+J[k-1]<<1;for(k=0;k<K;++k)se=S[k],se!=0&&(te[k]=J[se+16]++);var pe=0;for(k=0;k<K;++k)if(pe=S[k],pe!=0)for(se=Ce(te[k],C)>>C-pe,Z=(1<<C+4-pe)-1;Z>=0;--Z)D[se|Z<<pe]=pe&15|k<<4;return C}var Se=W?new Uint16Array(512):le(512),Ne=W?new Uint16Array(32):le(32);if(!W){for(var Oe=0;Oe<512;++Oe)Se[Oe]=0;for(Oe=0;Oe<32;++Oe)Ne[Oe]=0}(function(){for(var S=[],D=0;D<32;D++)S.push(5);ne(S,Ne,32);var A=[];for(D=0;D<=143;D++)A.push(8);for(;D<=255;D++)A.push(9);for(;D<=279;D++)A.push(7);for(;D<=287;D++)A.push(8);ne(A,Se,288)})();var qe=function(){for(var D=W?new Uint8Array(32768):[],A=0,C=0;A<ve.length-1;++A)for(;C<ve[A+1];++C)D[C]=A;for(;C<32768;++C)D[C]=29;var N=W?new Uint8Array(259):[];for(A=0,C=0;A<re.length-1;++A)for(;C<re[A+1];++C)N[C]=A;function k(se,K){for(var J=0;J<se.length;){var te=Math.min(65535,se.length-J),pe=J+te==se.length;for(K.write_shift(1,+pe),K.write_shift(2,te),K.write_shift(2,~te&65535);te-- >0;)K[K.l++]=se[J++]}return K.l}function Z(se,K){for(var J=0,te=0,pe=W?new Uint16Array(32768):[];te<se.length;){var Ee=Math.min(65535,se.length-te);if(Ee<10){for(J=nt(K,J,+(te+Ee==se.length)),J&7&&(J+=8-(J&7)),K.l=J/8|0,K.write_shift(2,Ee),K.write_shift(2,~Ee&65535);Ee-- >0;)K[K.l++]=se[te++];J=K.l*8;continue}J=nt(K,J,+(te+Ee==se.length)+2);for(var Te=0;Ee-- >0;){var ge=se[te];Te=(Te<<5^ge)&32767;var be=-1,Me=0;if((be=pe[Te])&&(be|=te&-32768,be>te&&(be-=32768),be<te))for(;se[be+Me]==se[te+Me]&&Me<250;)++Me;if(Me>2){ge=N[Me],ge<=22?J=X(K,J,q[ge+1]>>1)-1:(X(K,J,3),J+=5,X(K,J,q[ge-23]>>5),J+=3);var Et=ge<8?0:ge-4>>2;Et>0&&(Y(K,J,Me-re[ge]),J+=Et),ge=D[te-be],J=X(K,J,q[ge]>>3),J-=3;var wt=ge<4?0:ge-2>>1;wt>0&&(Y(K,J,te-be-ve[ge]),J+=wt);for(var Sr=0;Sr<Me;++Sr)pe[Te]=te&32767,Te=(Te<<5^se[te])&32767,++te;Ee-=Me-1}else ge<=143?ge=ge+48:J=M(K,J,1),J=X(K,J,q[ge]),pe[Te]=te&32767,++te}J=X(K,J,0)-1}return K.l=(J+7)/8|0,K.l}return function(K,J){return K.length<8?k(K,J):Z(K,J)}}();function xt(S){var D=ie(50+Math.floor(S.length*1.1)),A=qe(S,D);return D.slice(0,A)}var at=W?new Uint16Array(32768):le(32768),Ct=W?new Uint16Array(32768):le(32768),_t=W?new Uint16Array(128):le(128),St=1,kt=1;function Lt(S,D){var A=Ie(S,D)+257;D+=5;var C=Ie(S,D)+1;D+=5;var N=ot(S,D)+4;D+=4;for(var k=0,Z=W?new Uint8Array(19):le(19),se=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],K=1,J=W?new Uint8Array(8):le(8),te=W?new Uint8Array(8):le(8),pe=Z.length,Ee=0;Ee<N;++Ee)Z[V[Ee]]=k=Re(S,D),K<k&&(K=k),J[k]++,D+=3;var Te=0;for(J[0]=0,Ee=1;Ee<=K;++Ee)te[Ee]=Te=Te+J[Ee-1]<<1;for(Ee=0;Ee<pe;++Ee)(Te=Z[Ee])!=0&&(se[Ee]=te[Te]++);var ge=0;for(Ee=0;Ee<pe;++Ee)if(ge=Z[Ee],ge!=0){Te=q[se[Ee]]>>8-ge;for(var be=(1<<7-ge)-1;be>=0;--be)_t[Te|be<<ge]=ge&7|Ee<<3}var Me=[];for(K=1;Me.length<A+C;)switch(Te=_t[_e(S,D)],D+=Te&7,Te>>>=3){case 16:for(k=3+Ge(S,D),D+=2,Te=Me[Me.length-1];k-- >0;)Me.push(Te);break;case 17:for(k=3+Re(S,D),D+=3;k-- >0;)Me.push(0);break;case 18:for(k=11+_e(S,D),D+=7;k-- >0;)Me.push(0);break;default:Me.push(Te),K<Te&&(K=Te);break}var Et=Me.slice(0,A),wt=Me.slice(A);for(Ee=A;Ee<286;++Ee)Et[Ee]=0;for(Ee=C;Ee<30;++Ee)wt[Ee]=0;return St=ne(Et,at,286),kt=ne(wt,Ct,30),D}function Yt(S,D){if(S[0]==3&&!(S[1]&3))return[gl(D),2];for(var A=0,C=0,N=O_(D||1<<18),k=0,Z=N.length>>>0,se=0,K=0;!(C&1);){if(C=Re(S,A),A+=3,C>>>1)C>>1==1?(se=9,K=5):(A=Lt(S,A),se=St,K=kt);else{A&7&&(A+=8-(A&7));var J=S[A>>>3]|S[(A>>>3)+1]<<8;if(A+=32,J>0)for(!D&&Z<k+J&&(N=ae(N,k+J),Z=N.length);J-- >0;)N[k++]=S[A>>>3],A+=8;continue}for(;;){!D&&Z<k+32767&&(N=ae(N,k+32767),Z=N.length);var te=ht(S,A,se),pe=C>>>1==1?Se[te]:at[te];if(A+=pe&15,pe>>>=4,!(pe>>>8&255))N[k++]=pe;else{if(pe==256)break;pe-=257;var Ee=pe<8?0:pe-4>>2;Ee>5&&(Ee=0);var Te=k+re[pe];Ee>0&&(Te+=ht(S,A,Ee),A+=Ee),te=ht(S,A,K),pe=C>>>1==1?Ne[te]:Ct[te],A+=pe&15,pe>>>=4;var ge=pe<4?0:pe-2>>1,be=ve[pe];for(ge>0&&(be+=ht(S,A,ge),A+=ge),!D&&Z<Te&&(N=ae(N,Te+100),Z=N.length);k<Te;)N[k]=N[k-be],++k}}}return D?[N,A+7>>>3]:[N.slice(0,k),A+7>>>3]}function Rt(S,D){var A=S.slice(S.l||0),C=Yt(A,D);return S.l+=C[1],C[0]}function er(S,D){if(S)typeof console<"u"&&console.error(D);else throw new Error(D)}function tr(S,D){var A=S;Qr(A,0);var C=[],N=[],k={FileIndex:C,FullPaths:N};E(k,{root:D.root});for(var Z=A.length-4;(A[Z]!=80||A[Z+1]!=75||A[Z+2]!=5||A[Z+3]!=6)&&Z>=0;)--Z;A.l=Z+4,A.l+=4;var se=A.read_shift(2);A.l+=6;var K=A.read_shift(4);for(A.l=K,Z=0;Z<se;++Z){A.l+=20;var J=A.read_shift(4),te=A.read_shift(4),pe=A.read_shift(2),Ee=A.read_shift(2),Te=A.read_shift(2);A.l+=8;var ge=A.read_shift(4),be=s(A.slice(A.l+pe,A.l+pe+Ee));A.l+=pe+Ee+Te;var Me=A.l;A.l=ge+4,ur(A,J,te,k,be),A.l=Me}return k}function ur(S,D,A,C,N){S.l+=2;var k=S.read_shift(2),Z=S.read_shift(2),se=l(S);if(k&8257)throw new Error("Unsupported ZIP encryption");for(var K=S.read_shift(4),J=S.read_shift(4),te=S.read_shift(4),pe=S.read_shift(2),Ee=S.read_shift(2),Te="",ge=0;ge<pe;++ge)Te+=String.fromCharCode(S[S.l++]);if(Ee){var be=s(S.slice(S.l,S.l+Ee));(be[21589]||{}).mt&&(se=be[21589].mt),((N||{})[21589]||{}).mt&&(se=N[21589].mt)}S.l+=Ee;var Me=S.slice(S.l,S.l+J);switch(Z){case 8:Me=H(S,te);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+Z)}var Et=!1;k&8&&(K=S.read_shift(4),K==134695760&&(K=S.read_shift(4),Et=!0),J=S.read_shift(4),te=S.read_shift(4)),J!=D&&er(Et,"Bad compressed size: "+D+" != "+J),te!=A&&er(Et,"Bad uncompressed size: "+A+" != "+te),ah(C,Te,Me,{unsafe:!0,mt:se})}function cr(S,D){var A=D||{},C=[],N=[],k=ie(1),Z=A.compression?8:0,se=0,K=0,J=0,te=0,pe=0,Ee=S.FullPaths[0],Te=Ee,ge=S.FileIndex[0],be=[],Me=0;for(K=1;K<S.FullPaths.length;++K)if(Te=S.FullPaths[K].slice(Ee.length),ge=S.FileIndex[K],!(!ge.size||!ge.content||Te=="Sh33tJ5")){var Et=te,wt=ie(Te.length);for(J=0;J<Te.length;++J)wt.write_shift(1,Te.charCodeAt(J)&127);wt=wt.slice(0,wt.l),be[pe]=lk.buf(ge.content,0);var Sr=ge.content;Z==8&&(Sr=I(Sr)),k=ie(30),k.write_shift(4,67324752),k.write_shift(2,20),k.write_shift(2,se),k.write_shift(2,Z),ge.mt?i(k,ge.mt):k.write_shift(4,0),k.write_shift(-4,be[pe]),k.write_shift(4,Sr.length),k.write_shift(4,ge.content.length),k.write_shift(2,wt.length),k.write_shift(2,0),te+=k.length,C.push(k),te+=wt.length,C.push(wt),te+=Sr.length,C.push(Sr),k=ie(46),k.write_shift(4,33639248),k.write_shift(2,0),k.write_shift(2,20),k.write_shift(2,se),k.write_shift(2,Z),k.write_shift(4,0),k.write_shift(-4,be[pe]),k.write_shift(4,Sr.length),k.write_shift(4,ge.content.length),k.write_shift(2,wt.length),k.write_shift(2,0),k.write_shift(2,0),k.write_shift(2,0),k.write_shift(2,0),k.write_shift(4,0),k.write_shift(4,Et),Me+=k.l,N.push(k),Me+=wt.length,N.push(wt),++pe}return k=ie(22),k.write_shift(4,101010256),k.write_shift(2,0),k.write_shift(2,0),k.write_shift(2,pe),k.write_shift(2,pe),k.write_shift(4,Me),k.write_shift(4,te),k.write_shift(2,0),gr([gr(C),gr(N),k])}var Bt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function tT(S,D){if(S.ctype)return S.ctype;var A=S.name||"",C=A.match(/\.([^\.]+)$/);return C&&Bt[C[1]]||D&&(C=(A=D).match(/[\.\\]([^\.\\])+$/),C&&Bt[C[1]])?Bt[C[1]]:"application/octet-stream"}function rT(S){for(var D=wu(S),A=[],C=0;C<D.length;C+=76)A.push(D.slice(C,C+76));return A.join(`\r
`)+`\r
`}function nT(S){var D=S.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(J){var te=J.charCodeAt(0).toString(16).toUpperCase();return"="+(te.length==1?"0"+te:te)});D=D.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),D.charAt(0)==`
`&&(D="=0D"+D.slice(1)),D=D.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var A=[],C=D.split(`\r
`),N=0;N<C.length;++N){var k=C[N];if(k.length==0){A.push("");continue}for(var Z=0;Z<k.length;){var se=76,K=k.slice(Z,Z+se);K.charAt(se-1)=="="?se--:K.charAt(se-2)=="="?se-=2:K.charAt(se-3)=="="&&(se-=3),K=k.slice(Z,Z+se),Z+=se,Z<k.length&&(K+="="),A.push(K)}}return A.join(`\r
`)}function aT(S){for(var D=[],A=0;A<S.length;++A){for(var C=S[A];A<=S.length&&C.charAt(C.length-1)=="=";)C=C.slice(0,C.length-1)+S[++A];D.push(C)}for(var N=0;N<D.length;++N)D[N]=D[N].replace(/[=][0-9A-Fa-f]{2}/g,function(k){return String.fromCharCode(parseInt(k.slice(1),16))});return $n(D.join(`\r
`))}function iT(S,D,A){for(var C="",N="",k="",Z,se=0;se<10;++se){var K=D[se];if(!K||K.match(/^\s*$/))break;var J=K.match(/^(.*?):\s*([^\s].*)$/);if(J)switch(J[1].toLowerCase()){case"content-location":C=J[2].trim();break;case"content-type":k=J[2].trim();break;case"content-transfer-encoding":N=J[2].trim();break}}switch(++se,N.toLowerCase()){case"base64":Z=$n(Va(D.slice(se).join("")));break;case"quoted-printable":Z=aT(D.slice(se));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+N)}var te=ah(S,C.slice(A.length),Z,{unsafe:!0});k&&(te.ctype=k)}function lT(S,D){if(de(S.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var A=D&&D.root||"",C=($e&&Buffer.isBuffer(S)?S.toString("binary"):de(S)).split(`\r
`),N=0,k="";for(N=0;N<C.length;++N)if(k=C[N],!!/^Content-Location:/i.test(k)&&(k=k.slice(k.indexOf("file")),A||(A=k.slice(0,k.lastIndexOf("/")+1)),k.slice(0,A.length)!=A))for(;A.length>0&&(A=A.slice(0,A.length-1),A=A.slice(0,A.lastIndexOf("/")+1),k.slice(0,A.length)!=A););var Z=(C[1]||"").match(/boundary="(.*?)"/);if(!Z)throw new Error("MAD cannot find boundary");var se="--"+(Z[1]||""),K=[],J=[],te={FileIndex:K,FullPaths:J};E(te);var pe,Ee=0;for(N=0;N<C.length;++N){var Te=C[N];Te!==se&&Te!==se+"--"||(Ee++&&iT(te,C.slice(pe,N),A),pe=N)}return te}function sT(S,D){var A=D||{},C=A.boundary||"SheetJS";C="------="+C;for(var N=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+C.slice(2)+'"',"","",""],k=S.FullPaths[0],Z=k,se=S.FileIndex[0],K=1;K<S.FullPaths.length;++K)if(Z=S.FullPaths[K].slice(k.length),se=S.FileIndex[K],!(!se.size||!se.content||Z=="Sh33tJ5")){Z=Z.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Me){return"_x"+Me.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Me){return"_u"+Me.charCodeAt(0).toString(16)+"_"});for(var J=se.content,te=$e&&Buffer.isBuffer(J)?J.toString("binary"):de(J),pe=0,Ee=Math.min(1024,te.length),Te=0,ge=0;ge<=Ee;++ge)(Te=te.charCodeAt(ge))>=32&&Te<128&&++pe;var be=pe>=Ee*4/5;N.push(C),N.push("Content-Location: "+(A.root||"file:///C:/SheetJS/")+Z),N.push("Content-Transfer-Encoding: "+(be?"quoted-printable":"base64")),N.push("Content-Type: "+tT(se,Z)),N.push(""),N.push(be?nT(te):rT(te))}return N.push(C+`--\r
`),N.join(`\r
`)}function oT(S){var D={};return E(D,S),D}function ah(S,D,A,C){var N=C&&C.unsafe;N||E(S);var k=!N&&lt.find(S,D);if(!k){var Z=S.FullPaths[0];D.slice(0,Z.length)==Z?Z=D:(Z.slice(-1)!="/"&&(Z+="/"),Z=(Z+D).replace("//","/")),k={name:a(D),type:2},S.FileIndex.push(k),S.FullPaths.push(Z),N||lt.utils.cfb_gc(S)}return k.content=A,k.size=A?A.length:0,C&&(C.CLSID&&(k.clsid=C.CLSID),C.mt&&(k.mt=C.mt),C.ct&&(k.ct=C.ct)),k}function uT(S,D){E(S);var A=lt.find(S,D);if(A){for(var C=0;C<S.FileIndex.length;++C)if(S.FileIndex[C]==A)return S.FileIndex.splice(C,1),S.FullPaths.splice(C,1),!0}return!1}function cT(S,D,A){E(S);var C=lt.find(S,D);if(C){for(var N=0;N<S.FileIndex.length;++N)if(S.FileIndex[N]==C)return S.FileIndex[N].name=a(A),S.FullPaths[N]=A,!0}return!1}function fT(S){F(S,!0)}return t.find=z,t.read=T,t.parse=c,t.write=fe,t.writeFile=oe,t.utils={cfb_new:oT,cfb_add:ah,cfb_del:uT,cfb_mov:cT,cfb_gc:fT,ReadShift:Ko,CheckField:Yb,prep_blob:Qr,bconcat:gr,use_zlib:B,_deflateRaw:xt,_inflateRaw:Rt,consts:ee},t}();function sk(e){return typeof e=="string"?Z0(e):Array.isArray(e)?MM(e):e}function Xu(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=Z0(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?bu(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([sk(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var l=document.createElement("a");if(l.download!=null)return l.download=e,l.href=i,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=$u(t)),s.write(t),s.close(),t}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function wr(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function B_(e,t){for(var r=[],n=wr(e),a=0;a!==n.length;++a)r[e[n[a]][t]]==null&&(r[e[n[a]][t]]=n[a]);return r}function Ev(e){for(var t=[],r=wr(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function J0(e){for(var t=[],r=wr(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function ok(e){for(var t=[],r=wr(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var e0=new Date(1899,11,30,0,0,0);function Xr(e,t){var r=e.getTime(),n=e0.getTime()+(e.getTimezoneOffset()-e0.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var Rb=new Date,uk=e0.getTime()+(Rb.getTimezoneOffset()-e0.getTimezoneOffset())*6e4,P_=Rb.getTimezoneOffset();function Db(e){var t=new Date;return t.setTime(e*24*60*60*1e3+uk),t.getTimezoneOffset()!==P_&&t.setTime(t.getTime()+(t.getTimezoneOffset()-P_)*6e4),t}var z_=new Date("2017-02-19T19:06:09.000Z"),Nb=isNaN(z_.getFullYear())?new Date("2/19/17"):z_,ck=Nb.getFullYear()==2017;function Mr(e,t){var r=new Date(e);if(ck)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(Nb.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function eh(e,t){if($e&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var r={"€":"","‚":"",ƒ:"","„":"","…":"","†":"","‡":"","ˆ":"","‰":"",Š:"","‹":"",Œ:"",Ž:"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"",š:"","›":"",œ:"",ž:"",Ÿ:""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function Yr(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Yr(e[r]));return t}function Ft(e,t){for(var r="";r.length<t;)r+=e;return r}function ka(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(a,i){return r=-r,i}),!isNaN(t=Number(n)))?t/r:t}var fk=["january","february","march","april","may","june","july","august","september","october","november","december"];function Su(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),i=t.getDate();if(isNaN(i))return r;var l=e.toLowerCase();if(l.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(l=l.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),l.length>3&&fk.indexOf(l)==-1)return r}else if(l.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}function Be(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return $e?n=Ya(r):n=kM(r),lt.utils.cfb_add(e,t,n)}lt.utils.cfb_add(e,t,r)}else e.file(t,r)}function wv(){return lt.utils.cfb_new()}var Xt=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
`,hk={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},Sv=Ev(hk),bv=/[&<>'"]/g,dk=/[\u0000-\u0008\u000b-\u001f]/g;function tt(e){var t=e+"";return t.replace(bv,function(r){return Sv[r]}).replace(dk,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function U_(e){return tt(e).replace(/ /g,"_x0020_")}var Mb=/[\u0000-\u001f]/g;function pk(e){var t=e+"";return t.replace(bv,function(r){return Sv[r]}).replace(/\n/g,"<br/>").replace(Mb,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function mk(e){var t=e+"";return t.replace(bv,function(r){return Sv[r]}).replace(Mb,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function vk(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function gk(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function ld(e){for(var t="",r=0,n=0,a=0,i=0,l=0,s=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(a=e.charCodeAt(r++),n>191&&n<224){l=(n&31)<<6,l|=a&63,t+=String.fromCharCode(l);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}l=e.charCodeAt(r++),s=((n&7)<<18|(a&63)<<12|(i&63)<<6|l&63)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(s&1023))}return t}function j_(e){var t=gl(2*e.length),r,n,a=1,i=0,l=0,s;for(n=0;n<e.length;n+=a)a=1,(s=e.charCodeAt(n))<128?r=s:s<224?(r=(s&31)*64+(e.charCodeAt(n+1)&63),a=2):s<240?(r=(s&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),a=3):(a=4,r=(s&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,l=55296+(r>>>10&1023),r=56320+(r&1023)),l!==0&&(t[i++]=l&255,t[i++]=l>>>8,l=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function I_(e){return Ya(e,"binary").toString("utf8")}var Rc="foo bar bazâð£",qo=$e&&(I_(Rc)==ld(Rc)&&I_||j_(Rc)==ld(Rc)&&j_)||ld,bu=$e?function(e){return Ya(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},xk=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
`).replace(/<[^>]*>/g,""),a=0;a<e.length;++a)n=n.replace(e[a][0],e[a][1]);return n}}(),kb=/(^\s|\s$|\n)/;function xr(e,t){return"<"+e+(t.match(kb)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Tu(e){return wr(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function xe(e,t,r){return"<"+e+(r!=null?Tu(r):"")+(t!=null?(t.match(kb)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Np(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function yk(e,t){switch(typeof e){case"string":var r=xe("vt:lpwstr",tt(e));return r=r.replace(/&quot;/g,"_x0022_"),r;case"number":return xe((e|0)==e?"vt:i4":"vt:r8",tt(String(e)));case"boolean":return xe("vt:bool",e?"true":"false")}if(e instanceof Date)return xe("vt:filetime",Np(e));throw new Error("Unable to serialize "+e)}var ar={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Zs=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],en={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function _k(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Ek(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,l=n?-t:t;isFinite(l)?l==0?a=i=0:(a=Math.floor(Math.log(l)/Math.LN2),i=l*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var s=0;s<=5;++s,i/=256)e[r+s]=i&255;e[r+6]=(a&15)<<4|i&15,e[r+7]=a>>4|n}var H_=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,i=e[0][n].length;a<i;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},V_=$e?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Ya(t)})):H_(e)}:H_,G_=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(Oo(e,a)));return n.join("").replace(Yo,"")},Tv=$e?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(Yo,""):G_(e,t,r)}:G_,$_=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},Lb=$e?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):$_(e,t,r)}:$_,X_=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(Zl(e,a)));return n.join("")},Yu=$e?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):X_(t,r,n)}:X_,Bb=function(e,t){var r=tn(e,t);return r>0?Yu(e,t+4,t+4+r-1):""},Pb=Bb,zb=function(e,t){var r=tn(e,t);return r>0?Yu(e,t+4,t+4+r-1):""},Ub=zb,jb=function(e,t){var r=2*tn(e,t);return r>0?Yu(e,t+4,t+4+r-1):""},Ib=jb,Hb=function(t,r){var n=tn(t,r);return n>0?Tv(t,r+4,r+4+n):""},Vb=Hb,Gb=function(e,t){var r=tn(e,t);return r>0?Yu(e,t+4,t+4+r):""},$b=Gb,Xb=function(e,t){return _k(e,t)},t0=Xb,Fv=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};$e&&(Pb=function(t,r){if(!Buffer.isBuffer(t))return Bb(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Ub=function(t,r){if(!Buffer.isBuffer(t))return zb(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Ib=function(t,r){if(!Buffer.isBuffer(t))return jb(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},Vb=function(t,r){if(!Buffer.isBuffer(t))return Hb(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},$b=function(t,r){if(!Buffer.isBuffer(t))return Gb(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},t0=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Xb(t,r)},Fv=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var Zl=function(e,t){return e[t]},Oo=function(e,t){return e[t+1]*256+e[t]},wk=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},tn=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Zi=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Sk=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Ko(e,t){var r="",n,a,i=[],l,s,o,u;switch(t){case"dbcs":if(u=this.l,$e&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)r+=String.fromCharCode(Oo(this,u)),u+=2;e*=2;break;case"utf8":r=Yu(this,this.l,this.l+e);break;case"utf16le":e*=2,r=Tv(this,this.l,this.l+e);break;case"wstr":return Ko.call(this,e,"dbcs");case"lpstr-ansi":r=Pb(this,this.l),e=4+tn(this,this.l);break;case"lpstr-cp":r=Ub(this,this.l),e=4+tn(this,this.l);break;case"lpwstr":r=Ib(this,this.l),e=4+2*tn(this,this.l);break;case"lpp4":e=4+tn(this,this.l),r=Vb(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+tn(this,this.l),r=$b(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(l=Zl(this,this.l+e++))!==0;)i.push(Ac(l));r=i.join("");break;case"_wstr":for(e=0,r="";(l=Oo(this,this.l+e))!==0;)i.push(Ac(l)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",u=this.l,o=0;o<e;++o){if(this.lens&&this.lens.indexOf(u)!==-1)return l=Zl(this,u),this.l=u+1,s=Ko.call(this,e-o,l?"dbcs-cont":"sbcs-cont"),i.join("")+s;i.push(Ac(Oo(this,u))),u+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",u=this.l,o=0;o!=e;++o){if(this.lens&&this.lens.indexOf(u)!==-1)return l=Zl(this,u),this.l=u+1,s=Ko.call(this,e-o,l?"dbcs-cont":"sbcs-cont"),i.join("")+s;i.push(Ac(Zl(this,u))),u+=1}r=i.join("");break;default:switch(e){case 1:return n=Zl(this,this.l),this.l++,n;case 2:return n=(t==="i"?wk:Oo)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(n=(e>0?Zi:Sk)(this,this.l),this.l+=4,n):(a=tn(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=t0(this,this.l):a=t0([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,a;e=8;case 16:r=Lb(this,this.l,e);break}}return this.l+=e,r}var bk=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Tk=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Fk=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Ak(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)Fk(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}else if(r==="utf16le"){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var l=t.charCodeAt(a);this[this.l++]=l&255,this[this.l++]=l>>8}for(;this.l<i;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,bk(this,t,this.l);break;case 8:if(n=8,r==="f"){Ek(this,t,this.l);break}case 16:break;case-4:n=4,Tk(this,t,this.l);break}return this.l+=n,this}function Yb(e,t){var r=Lb(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Qr(e,t){e.l=t,e.read_shift=Ko,e.chk=Yb,e.write_shift=Ak}function sa(e,t){e.l+=t}function ie(e){var t=gl(e);return Qr(t,0),t}function Gr(){var e=[],t=$e?256:2048,r=function(u){var c=ie(u);return Qr(c,0),c},n=r(t),a=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(u){return n&&u<n.length-n.l?n:(a(),n=r(Math.max(u+1,t)))},l=function(){return a(),gr(e)},s=function(u){a(),n=u,n.l==null&&(n.l=n.length),i(t)};return{next:i,push:s,end:l,_bufs:e}}function he(e,t,r,n){var a=+t,i;if(!isNaN(a)){n||(n=_j[a].p||(r||[]).length||0),i=1+(a>=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var l=e.next(i);a<=127?l.write_shift(1,a):(l.write_shift(1,(a&127)+128),l.write_shift(1,a>>7));for(var s=0;s!=4;++s)if(n>=128)l.write_shift(1,(n&127)+128),n>>=7;else{l.write_shift(1,n);break}n>0&&Fv(r)&&e.push(r)}}function Zo(e,t,r){var n=Yr(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Y_(e,t,r){var n=Yr(e);return n.s=Zo(n.s,t.s,r),n.e=Zo(n.e,t.s,r),n}function Wo(e,t){if(e.cRel&&e.c<0)for(e=Yr(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Yr(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=rt(e);return!e.cRel&&e.cRel!=null&&(r=Rk(r)),!e.rRel&&e.rRel!=null&&(r=Ok(r)),r}function sd(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Tr(e.s.c)+":"+(e.e.cRel?"":"$")+Tr(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+Er(e.s.r)+":"+(e.e.rRel?"":"$")+Er(e.e.r):Wo(e.s,t.biff)+":"+Wo(e.e,t.biff)}function Av(e){return parseInt(Ck(e),10)-1}function Er(e){return""+(e+1)}function Ok(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Ck(e){return e.replace(/\$(\d+)$/,"$1")}function Ov(e){for(var t=Dk(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Tr(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Rk(e){return e.replace(/^([A-Z])/,"$$$1")}function Dk(e){return e.replace(/^\$([A-Z])/,"$1")}function Nk(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ir(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function rt(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function gn(e){var t=e.indexOf(":");return t==-1?{s:ir(e),e:ir(e)}:{s:ir(e.slice(0,t)),e:ir(e.slice(t+1))}}function Gt(e,t){return typeof t>"u"||typeof t=="number"?Gt(e.s,e.e):(typeof e!="string"&&(e=rt(e)),typeof t!="string"&&(t=rt(t)),e==t?e:e+":"+t)}function gt(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n<i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function q_(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=Di(e.z,r?Xr(t):t)}catch{}try{return e.w=Di((e.XF||{}).numFmtId||(r?14:0),r?Xr(t):t)}catch{return""+t}}function Ga(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?qu[e.v]||e.v:t==null?q_(e,e.v):q_(e,t))}function Ol(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function qb(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),l=0,s=0;if(i&&n.origin!=null){if(typeof n.origin=="number")l=n.origin;else{var o=typeof n.origin=="string"?ir(n.origin):n.origin;l=o.r,s=o.c}i["!ref"]||(i["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=gt(i["!ref"]);u.s.c=c.s.c,u.s.r=c.s.r,u.e.c=Math.max(u.e.c,c.e.c),u.e.r=Math.max(u.e.r,c.e.r),l==-1&&(u.e.r=l=c.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(!(typeof t[f][h]>"u")){var d={v:t[f][h]},p=l+f,m=s+h;if(u.s.r>p&&(u.s.r=p),u.s.c>m&&(u.s.c=m),u.e.r<p&&(u.e.r=p),u.e.c<m&&(u.e.c=m),t[f][h]&&typeof t[f][h]=="object"&&!Array.isArray(t[f][h])&&!(t[f][h]instanceof Date))d=t[f][h];else if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),d.v===null)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else if(n.sheetStubs)d.t="z";else continue;else typeof d.v=="number"?d.t="n":typeof d.v=="boolean"?d.t="b":d.v instanceof Date?(d.z=n.dateNF||Ot[14],n.cellDates?(d.t="d",d.w=Di(d.z,Xr(d.v))):(d.t="n",d.v=Xr(d.v),d.w=Di(d.z,d.v))):d.t="s";if(a)i[p]||(i[p]=[]),i[p][m]&&i[p][m].z&&(d.z=i[p][m].z),i[p][m]=d;else{var y=rt({c:m,r:p});i[y]&&i[y].z&&(d.z=i[y].z),i[y]=d}}}return u.s.c<1e7&&(i["!ref"]=Gt(u)),i}function Ws(e,t){return qb(null,e,t)}function Mk(e){return e.read_shift(4,"i")}function Yn(e,t){return t||(t=ie(4)),t.write_shift(4,e),t}function Fr(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function lr(e,t){var r=!1;return t==null&&(r=!0,t=ie(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function kk(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Lk(e,t){return t||(t=ie(4)),t.write_shift(2,0),t.write_shift(2,0),t}function Cv(e,t){var r=e.l,n=e.read_shift(1),a=Fr(e),i=[],l={t:a,h:a};if(n&1){for(var s=e.read_shift(4),o=0;o!=s;++o)i.push(kk(e));l.r=i}else l.r=[{ich:0,ifnt:0}];return e.l=r+t,l}function Bk(e,t){var r=!1;return t==null&&(r=!0,t=ie(15+4*e.t.length)),t.write_shift(1,0),lr(e.t,t),r?t.slice(0,t.l):t}var Pk=Cv;function zk(e,t){var r=!1;return t==null&&(r=!0,t=ie(23+4*e.t.length)),t.write_shift(1,1),lr(e.t,t),t.write_shift(4,1),Lk({},t),r?t.slice(0,t.l):t}function kn(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Cl(e,t){return t==null&&(t=ie(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function Rl(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Dl(e,t){return t==null&&(t=ie(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Uk=Fr,Kb=lr;function Rv(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function r0(e,t){var r=!1;return t==null&&(r=!0,t=ie(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var jk=Fr,Mp=Rv,Dv=r0;function Zb(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var a=n===0?t0([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):Zi(t,0)>>2;return r?a/100:a}function Wb(e,t){t==null&&(t=ie(4));var r=0,n=0,a=e*100;if(e==(e|0)&&e>=-536870912&&e<1<<29?n=1:a==(a|0)&&a>=-536870912&&a<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?a:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function Qb(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function Ik(e,t){return t||(t=ie(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var Nl=Qb,Qs=Ik;function Js(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function xl(e,t){return(t||ie(8)).write_shift(8,e,"f")}function Hk(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),i=e.read_shift(2,"i"),l=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var u=Wk[a];u&&(t.rgb=iE(u));break;case 2:t.rgb=iE([l,s,o]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function n0(e,t){if(t||(t=ie(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function Vk(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function Gk(e,t){t||(t=ie(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var Jb=2,Kr=3,Dc=11,a0=19,Nc=64,$k=65,Xk=71,Yk=4108,qk=4126,pr=80,K_={1:{n:"CodePage",t:Jb},2:{n:"Category",t:pr},3:{n:"PresentationFormat",t:pr},4:{n:"ByteCount",t:Kr},5:{n:"LineCount",t:Kr},6:{n:"ParagraphCount",t:Kr},7:{n:"SlideCount",t:Kr},8:{n:"NoteCount",t:Kr},9:{n:"HiddenCount",t:Kr},10:{n:"MultimediaClipCount",t:Kr},11:{n:"ScaleCrop",t:Dc},12:{n:"HeadingPairs",t:Yk},13:{n:"TitlesOfParts",t:qk},14:{n:"Manager",t:pr},15:{n:"Company",t:pr},16:{n:"LinksUpToDate",t:Dc},17:{n:"CharacterCount",t:Kr},19:{n:"SharedDoc",t:Dc},22:{n:"HyperlinksChanged",t:Dc},23:{n:"AppVersion",t:Kr,p:"version"},24:{n:"DigSig",t:$k},26:{n:"ContentType",t:pr},27:{n:"ContentStatus",t:pr},28:{n:"Language",t:pr},29:{n:"Version",t:pr},255:{},2147483648:{n:"Locale",t:a0},2147483651:{n:"Behavior",t:a0},1919054434:{}},Z_={1:{n:"CodePage",t:Jb},2:{n:"Title",t:pr},3:{n:"Subject",t:pr},4:{n:"Author",t:pr},5:{n:"Keywords",t:pr},6:{n:"Comments",t:pr},7:{n:"Template",t:pr},8:{n:"LastAuthor",t:pr},9:{n:"RevNumber",t:pr},10:{n:"EditTime",t:Nc},11:{n:"LastPrinted",t:Nc},12:{n:"CreatedDate",t:Nc},13:{n:"ModifiedDate",t:Nc},14:{n:"PageCount",t:Kr},15:{n:"WordCount",t:Kr},16:{n:"CharCount",t:Kr},17:{n:"Thumbnail",t:Xk},18:{n:"Application",t:pr},19:{n:"DocSecurity",t:Kr},255:{},2147483648:{n:"Locale",t:a0},2147483651:{n:"Behavior",t:a0},1919054434:{}};function Kk(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var Zk=Kk([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Wk=Yr(Zk),qu={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Qk={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Mc={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function e5(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function t5(e,t){var r=ok(Qk),n=[],a;n[n.length]=Xt,n[n.length]=xe("Types",null,{xmlns:ar.CT,"xmlns:xsd":ar.xsd,"xmlns:xsi":ar.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(o){return xe("Default",null,{Extension:o[0],ContentType:o[1]})}));var i=function(o){e[o]&&e[o].length>0&&(a=e[o][0],n[n.length]=xe("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Mc[o][t.bookType]||Mc[o].xlsx}))},l=function(o){(e[o]||[]).forEach(function(u){n[n.length]=xe("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:Mc[o][t.bookType]||Mc[o].xlsx})})},s=function(o){(e[o]||[]).forEach(function(u){n[n.length]=xe("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:r[o][0]})})};return i("workbooks"),l("sheets"),l("charts"),s("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),l("metadata"),s("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var Ve={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function r5(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Ss(e){var t=[Xt,xe("Relationships",null,{xmlns:ar.RELS})];return wr(e["!id"]).forEach(function(r){t[t.length]=xe("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Je(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,[Ve.HLINK,Ve.XPATH,Ve.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function Jk(e){var t=[Xt];t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
`),t.push(`  <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
`);for(var r=0;r<e.length;++r)t.push('  <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+`"/>
`);return t.push("</manifest:manifest>"),t.join("")}function W_(e,t,r){return['  <rdf:Description rdf:about="'+e+`">
`,'    <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/>
`,`  </rdf:Description>
`].join("")}function eL(e,t){return['  <rdf:Description rdf:about="'+e+`">
`,'    <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/>
`,`  </rdf:Description>
`].join("")}function tL(e){var t=[Xt];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
`);for(var r=0;r!=e.length;++r)t.push(W_(e[r][0],e[r][1])),t.push(eL("",e[r][0]));return t.push(W_("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function n5(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+Kf.version+"</meta:generator></office:meta></office:document-meta>"}var il=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function od(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=tt(t),n[n.length]=r?xe(e,t,r):xr(e,t))}function a5(e,t){var r=t||{},n=[Xt,xe("cp:coreProperties",null,{"xmlns:cp":ar.CORE_PROPS,"xmlns:dc":ar.dc,"xmlns:dcterms":ar.dcterms,"xmlns:dcmitype":ar.dcmitype,"xmlns:xsi":ar.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&od("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Np(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&od("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Np(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=il.length;++i){var l=il[i],s=r.Props&&r.Props[l[1]]!=null?r.Props[l[1]]:e?e[l[1]]:null;s===!0?s="1":s===!1?s="0":typeof s=="number"&&(s=String(s)),s!=null&&od(l[0],s,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var bs=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],i5=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function l5(e){var t=[],r=xe;return e||(e={}),e.Application="SheetJS",t[t.length]=Xt,t[t.length]=xe("Properties",null,{xmlns:ar.EXT_PROPS,"xmlns:vt":ar.vt}),bs.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=tt(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+tt(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function s5(e){var t=[Xt,xe("Properties",null,{xmlns:ar.CUST_PROPS,"xmlns:vt":ar.vt})];if(!e)return t.join("");var r=1;return wr(e).forEach(function(a){++r,t[t.length]=xe("property",yk(e[a]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:tt(a)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Q_={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function rL(e,t){var r=[];return wr(Q_).map(function(n){for(var a=0;a<il.length;++a)if(il[a][1]==n)return il[a];for(a=0;a<bs.length;++a)if(bs[a][1]==n)return bs[a];throw n}).forEach(function(n){if(e[n[1]]!=null){var a=t&&t.Props&&t.Props[n[1]]!=null?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z");break}typeof a=="number"?a=String(a):a===!0||a===!1?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(xr(Q_[n[1]]||n[1],a))}}),xe("DocumentProperties",r.join(""),{xmlns:en.o})}function nL(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&wr(e).forEach(function(i){if(Object.prototype.hasOwnProperty.call(e,i)){for(var l=0;l<il.length;++l)if(i==il[l][1])return;for(l=0;l<bs.length;++l)if(i==bs[l][1])return;for(l=0;l<r.length;++l)if(i==r[l])return;var s=e[i],o="string";typeof s=="number"?(o="float",s=String(s)):s===!0||s===!1?(o="boolean",s=s?"1":"0"):s=String(s),a.push(xe(U_(i),s,{"dt:dt":o}))}}),t&&wr(t).forEach(function(i){if(Object.prototype.hasOwnProperty.call(t,i)&&!(e&&Object.prototype.hasOwnProperty.call(e,i))){var l=t[i],s="string";typeof l=="number"?(s="float",l=String(l)):l===!0||l===!1?(s="boolean",l=l?"1":"0"):l instanceof Date?(s="dateTime.tz",l=l.toISOString()):l=String(l),a.push(xe(U_(i),l,{"dt:dt":s}))}}),"<"+n+' xmlns="'+en.o+'">'+a.join("")+"</"+n+">"}function aL(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),a+=i);var l=ie(8);return l.write_shift(4,n),l.write_shift(4,a),l}function J_(e,t){var r=ie(4),n=ie(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=ie(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=aL(t);break;case 31:case 80:for(n=ie(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return gr([r,n])}var o5=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function iL(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function eE(e,t,r){var n=ie(8),a=[],i=[],l=8,s=0,o=ie(8),u=ie(8);if(o.write_shift(4,2),o.write_shift(4,1200),u.write_shift(4,1),i.push(o),a.push(u),l+=8+o.length,!t){u=ie(8),u.write_shift(4,0),a.unshift(u);var c=[ie(4)];for(c[0].write_shift(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for(o=ie(8+2*(f.length+1)+(f.length%2?0:2)),o.write_shift(4,s+2),o.write_shift(4,f.length+1),o.write_shift(0,f,"dbcs");o.l!=o.length;)o.write_shift(1,0);c.push(o)}o=gr(c),i.unshift(o),l+=8+o.length}for(s=0;s<e.length;++s)if(!(t&&!t[e[s][0]])&&!(o5.indexOf(e[s][0])>-1||i5.indexOf(e[s][0])>-1)&&e[s][1]!=null){var h=e[s][1],d=0;if(t){d=+t[e[s][0]];var p=r[d];if(p.p=="version"&&typeof h=="string"){var m=h.split(".");h=(+m[0]<<16)+(+m[1]||0)}o=J_(p.t,h)}else{var y=iL(h);y==-1&&(y=31,h=String(h)),o=J_(y,h)}i.push(o),u=ie(8),u.write_shift(4,t?d:2+s),a.push(u),l+=8+o.length}var v=8*(i.length+1);for(s=0;s<i.length;++s)a[s].write_shift(4,v),v+=i[s].length;return n.write_shift(4,l),n.write_shift(4,i.length),gr([n].concat(a).concat(i))}function tE(e,t,r,n,a,i){var l=ie(a?68:48),s=[l];l.write_shift(2,65534),l.write_shift(2,0),l.write_shift(4,842412599),l.write_shift(16,lt.utils.consts.HEADER_CLSID,"hex"),l.write_shift(4,a?2:1),l.write_shift(16,t,"hex"),l.write_shift(4,a?68:48);var o=eE(e,r,n);if(s.push(o),a){var u=eE(a,null,null);l.write_shift(16,i,"hex"),l.write_shift(4,68+o.length),s.push(u)}return gr(s)}function lL(e,t){t||(t=ie(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function sL(e,t){return e.read_shift(t)===1}function Rr(e,t){return t||(t=ie(2)),t.write_shift(2,+!!e),t}function u5(e){return e.read_shift(2,"u")}function En(e,t){return t||(t=ie(2)),t.write_shift(2,e),t}function c5(e,t,r){return r||(r=ie(2)),r.write_shift(1,t=="e"?+e:+!!e),r.write_shift(1,t=="e"?1:0),r}function f5(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var l=n?e.read_shift(n,a):"";return l}function oL(e){var t=e.t||"",r=ie(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=ie(2*t.length);n.write_shift(2*t.length,t,"utf16le");var a=[r,n];return gr(a)}function uL(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function cL(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):uL(e,n,r)}function fL(e,t,r){if(r.biff>5)return cL(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function h5(e,t,r){return r||(r=ie(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function rE(e,t){t||(t=ie(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function hL(e){var t=ie(512),r=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var a=n.indexOf("#"),i=a>-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var l=[8,6815827,6619237,4849780,83];for(r=0;r<l.length;++r)t.write_shift(4,l[r]);if(i==28)n=n.slice(1),rE(n,t);else if(i&2){for(l="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<l.length;++r)t.write_shift(1,parseInt(l[r],16));var s=a>-1?n.slice(0,a):n;for(t.write_shift(4,2*(s.length+1)),r=0;r<s.length;++r)t.write_shift(2,s.charCodeAt(r));t.write_shift(2,0),i&8&&rE(a>-1?n.slice(a+1):"",t)}else{for(l="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<l.length;++r)t.write_shift(1,parseInt(l[r],16));for(var o=0;n.slice(o*3,o*3+3)=="../"||n.slice(o*3,o*3+3)=="..\\";)++o;for(t.write_shift(2,o),t.write_shift(4,n.length-3*o+1),r=0;r<n.length-3*o;++r)t.write_shift(1,n.charCodeAt(r+3*o)&255);for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function yl(e,t,r,n){return n||(n=ie(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function dL(e,t,r){var n=r.biff>8?4:2,a=e.read_shift(n),i=e.read_shift(n,"i"),l=e.read_shift(n,"i");return[a,i,l]}function pL(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function d5(e,t){return t||(t=ie(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function Nv(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=ie(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function mL(e,t){var r=!t||t.biff==8,n=ie(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function vL(e,t){var r=!t||t.biff>=8?2:1,n=ie(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function gL(e,t){var r=ie(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=oL(e[a]);var i=gr([r].concat(n));return i.parts=[r.length].concat(n.map(function(l){return l.length})),i}function xL(){var e=ie(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function yL(e){var t=ie(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function _L(e,t){var r=e.name||"Arial",n=t&&t.biff==5,a=n?15+r.length:16+2*r.length,i=ie(a);return i.write_shift(2,e.sz*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function EL(e,t,r,n){var a=ie(10);return yl(e,t,n,a),a.write_shift(4,r),a}function wL(e,t,r,n,a){var i=!a||a.biff==8,l=ie(8+ +i+(1+i)*r.length);return yl(e,t,n,l),l.write_shift(2,r.length),i&&l.write_shift(1,1),l.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),l}function SL(e,t,r,n){var a=r&&r.biff==5;n||(n=ie(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}function bL(e,t){var r=t.biff==8||!t.biff?4:2,n=ie(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function nE(e,t,r,n){var a=r&&r.biff==5;n||(n=ie(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function TL(e){var t=ie(8);return t.write_shift(4,0),t.write_shift(2,0),t.write_shift(2,0),t}function FL(e,t,r,n,a,i){var l=ie(8);return yl(e,t,n,l),c5(r,i,l),l}function AL(e,t,r,n){var a=ie(14);return yl(e,t,n,a),xl(r,a),a}function OL(e,t,r){if(r.biff<8)return CL(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(dL(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function CL(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=f5(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function RL(e){var t=ie(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)d5(e[r],t);return t}function DL(e){var t=ie(24),r=ir(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return gr([t,hL(e[1])])}function NL(e){var t=e[1].Tooltip,r=ie(10+2*(t.length+1));r.write_shift(2,2048);var n=ir(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function ML(e){return e||(e=ie(4)),e.write_shift(2,1),e.write_shift(2,1),e}function kL(e,t,r){if(!r.cellStyles)return sa(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),i=e.read_shift(n),l=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(2);n==2&&(e.l+=2);var u={s:a,e:i,w:l,ixfe:s,flags:o};return(r.biff>=5||!r.biff)&&(u.level=o>>8&7),u}function LL(e,t){var r=ie(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function BL(e){for(var t=ie(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function PL(e,t,r){var n=ie(15);return Zu(n,e,t),n.write_shift(8,r,"f"),n}function zL(e,t,r){var n=ie(9);return Zu(n,e,t),n.write_shift(2,r),n}var UL=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=Ev({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(s,o){var u=[],c=gl(1);switch(o.type){case"base64":c=$n(Va(s));break;case"binary":c=$n(s);break;case"buffer":case"array":c=s;break}Qr(c,0);var f=c.read_shift(1),h=!!(f&136),d=!1,p=!1;switch(f){case 2:break;case 3:break;case 48:d=!0,h=!0;break;case 49:d=!0,h=!0;break;case 131:break;case 139:break;case 140:p=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+f.toString(16))}var m=0,y=521;f==2&&(m=c.read_shift(2)),c.l+=3,f!=2&&(m=c.read_shift(4)),m>1048576&&(m=1e6),f!=2&&(y=c.read_shift(2));var v=c.read_shift(2),g=o.codepage||1252;f!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(g=e[c[c.l]]),c.l+=1,c.l+=2),p&&(c.l+=36);for(var x=[],_={},w=Math.min(c.length,f==2?521:y-10-(d?264:0)),T=p?32:11;c.l<w&&c[c.l]!=13;)switch(_={},_.name=Zf.utils.decode(g,c.slice(c.l,c.l+T)).replace(/[\u0000\r\n].*$/g,""),c.l+=T,_.type=String.fromCharCode(c.read_shift(1)),f!=2&&!p&&(_.offset=c.read_shift(4)),_.len=c.read_shift(1),f==2&&(_.offset=c.read_shift(2)),_.dec=c.read_shift(1),_.name.length&&x.push(_),f!=2&&(c.l+=p?13:14),_.type){case"B":(!d||_.len!=8)&&o.WTF&&console.log("Skipping "+_.name+":"+_.type);break;case"G":case"P":o.WTF&&console.log("Skipping "+_.name+":"+_.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+_.type)}if(c[c.l]!==13&&(c.l=y-1),c.read_shift(1)!==13)throw new Error("DBF Terminator not found "+c.l+" "+c[c.l]);c.l=y;var E=0,O=0;for(u[0]=[],O=0;O!=x.length;++O)u[0][O]=x[O].name;for(;m-- >0;){if(c[c.l]===42){c.l+=v;continue}for(++c.l,u[++E]=[],O=0,O=0;O!=x.length;++O){var F=c.slice(c.l,c.l+x[O].len);c.l+=x[O].len,Qr(F,0);var R=Zf.utils.decode(g,F);switch(x[O].type){case"C":R.trim().length&&(u[E][O]=R.replace(/\s+$/,""));break;case"D":R.length===8?u[E][O]=new Date(+R.slice(0,4),+R.slice(4,6)-1,+R.slice(6,8)):u[E][O]=R;break;case"F":u[E][O]=parseFloat(R.trim());break;case"+":case"I":u[E][O]=p?F.read_shift(-4,"i")^2147483648:F.read_shift(4,"i");break;case"L":switch(R.trim().toUpperCase()){case"Y":case"T":u[E][O]=!0;break;case"N":case"F":u[E][O]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+R+"|")}break;case"M":if(!h)throw new Error("DBF Unexpected MEMO for type "+f.toString(16));u[E][O]="##MEMO##"+(p?parseInt(R.trim(),10):F.read_shift(4));break;case"N":R=R.replace(/\u0000/g,"").trim(),R&&R!="."&&(u[E][O]=+R||0);break;case"@":u[E][O]=new Date(F.read_shift(-8,"f")-621356832e5);break;case"T":u[E][O]=new Date((F.read_shift(4)-2440588)*864e5+F.read_shift(4));break;case"Y":u[E][O]=F.read_shift(4,"i")/1e4+F.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":u[E][O]=-F.read_shift(-8,"f");break;case"B":if(d&&x[O].len==8){u[E][O]=F.read_shift(8,"f");break}case"G":case"P":F.l+=x[O].len;break;case"0":if(x[O].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+x[O].type)}}}if(f!=2&&c.l<c.length&&c[c.l++]!=26)throw new Error("DBF EOF Marker missing "+(c.l-1)+" of "+c.length+" "+c[c.l-1].toString(16));return o&&o.sheetRows&&(u=u.slice(0,o.sheetRows)),o.DBF=x,u}function n(s,o){var u=o||{};u.dateNF||(u.dateNF="yyyymmdd");var c=Ws(r(s,u),u);return c["!cols"]=u.DBF.map(function(f){return{wch:f.len,DBF:f}}),delete u.DBF,c}function a(s,o){try{return Ol(n(s,o),o)}catch(u){if(o&&o.WTF)throw u}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function l(s,o){var u=o||{};if(+u.codepage>=0&&Eu(+u.codepage),u.type=="string")throw new Error("Cannot write DBF to JS string");var c=Gr(),f=u0(s,{header:1,raw:!0,cellDates:!0}),h=f[0],d=f.slice(1),p=s["!cols"]||[],m=0,y=0,v=0,g=1;for(m=0;m<h.length;++m){if(((p[m]||{}).DBF||{}).name){h[m]=p[m].DBF.name,++v;continue}if(h[m]!=null){if(++v,typeof h[m]=="number"&&(h[m]=h[m].toString(10)),typeof h[m]!="string")throw new Error("DBF Invalid column name "+h[m]+" |"+typeof h[m]+"|");if(h.indexOf(h[m])!==m){for(y=0;y<1024;++y)if(h.indexOf(h[m]+"_"+y)==-1){h[m]+="_"+y;break}}}}var x=gt(s["!ref"]),_=[],w=[],T=[];for(m=0;m<=x.e.c-x.s.c;++m){var E="",O="",F=0,R=[];for(y=0;y<d.length;++y)d[y][m]!=null&&R.push(d[y][m]);if(R.length==0||h[m]==null){_[m]="?";continue}for(y=0;y<R.length;++y){switch(typeof R[y]){case"number":O="B";break;case"string":O="C";break;case"boolean":O="L";break;case"object":O=R[y]instanceof Date?"D":"C";break;default:O="C"}F=Math.max(F,String(R[y]).length),E=E&&E!=O?"C":O}F>250&&(F=250),O=((p[m]||{}).DBF||{}).type,O=="C"&&p[m].DBF.len>F&&(F=p[m].DBF.len),E=="B"&&O=="N"&&(E="N",T[m]=p[m].DBF.dec,F=p[m].DBF.len),w[m]=E=="C"||O=="N"?F:i[E]||0,g+=w[m],_[m]=E}var z=c.next(32);for(z.write_shift(4,318902576),z.write_shift(4,d.length),z.write_shift(2,296+32*v),z.write_shift(2,g),m=0;m<4;++m)z.write_shift(4,0);for(z.write_shift(4,0|(+t[mb]||3)<<8),m=0,y=0;m<h.length;++m)if(h[m]!=null){var j=c.next(32),G=(h[m].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);j.write_shift(1,G,"sbcs"),j.write_shift(1,_[m]=="?"?"C":_[m],"sbcs"),j.write_shift(4,y),j.write_shift(1,w[m]||i[_[m]]||0),j.write_shift(1,T[m]||0),j.write_shift(1,2),j.write_shift(4,0),j.write_shift(1,0),j.write_shift(4,0),j.write_shift(4,0),y+=w[m]||i[_[m]]||0}var ce=c.next(264);for(ce.write_shift(4,13),m=0;m<65;++m)ce.write_shift(4,0);for(m=0;m<d.length;++m){var L=c.next(g);for(L.write_shift(1,0),y=0;y<h.length;++y)if(h[y]!=null)switch(_[y]){case"L":L.write_shift(1,d[m][y]==null?63:d[m][y]?84:70);break;case"B":L.write_shift(8,d[m][y]||0,"f");break;case"N":var U="0";for(typeof d[m][y]=="number"&&(U=d[m][y].toFixed(T[y]||0)),v=0;v<w[y]-U.length;++v)L.write_shift(1,32);L.write_shift(1,U,"sbcs");break;case"D":d[m][y]?(L.write_shift(4,("0000"+d[m][y].getFullYear()).slice(-4),"sbcs"),L.write_shift(2,("00"+(d[m][y].getMonth()+1)).slice(-2),"sbcs"),L.write_shift(2,("00"+d[m][y].getDate()).slice(-2),"sbcs")):L.write_shift(8,"00000000","sbcs");break;case"C":var ee=String(d[m][y]!=null?d[m][y]:"").slice(0,w[y]);for(L.write_shift(1,ee,"sbcs"),v=0;v<w[y]-ee.length;++v)L.write_shift(1,32);break}}return c.next(1).write_shift(1,26),c.end()}return{to_workbook:a,to_sheet:n,from_sheet:l}}(),jL=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+wr(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(h,d){var p=e[d];return typeof p=="number"?A_(p):p},n=function(h,d,p){var m=d.charCodeAt(0)-32<<4|p.charCodeAt(0)-48;return m==59?h:A_(m)};e["|"]=254;function a(h,d){switch(d.type){case"base64":return i(Va(h),d);case"binary":return i(h,d);case"buffer":return i($e&&Buffer.isBuffer(h)?h.toString("binary"):$u(h),d);case"array":return i(eh(h),d)}throw new Error("Unrecognized type "+d.type)}function i(h,d){var p=h.split(/[\n\r]+/),m=-1,y=-1,v=0,g=0,x=[],_=[],w=null,T={},E=[],O=[],F=[],R=0,z;for(+d.codepage>=0&&Eu(+d.codepage);v!==p.length;++v){R=0;var j=p[v].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),G=j.replace(/;;/g,"\0").split(";").map(function(V){return V.replace(/\u0000/g,";")}),ce=G[0],L;if(j.length>0)switch(ce){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":G[1].charAt(0)=="P"&&_.push(j.slice(3).replace(/;;/g,";"));break;case"C":var U=!1,ee=!1,oe=!1,de=!1,fe=-1,Fe=-1;for(g=1;g<G.length;++g)switch(G[g].charAt(0)){case"A":break;case"X":y=parseInt(G[g].slice(1))-1,ee=!0;break;case"Y":for(m=parseInt(G[g].slice(1))-1,ee||(y=0),z=x.length;z<=m;++z)x[z]=[];break;case"K":L=G[g].slice(1),L.charAt(0)==='"'?L=L.slice(1,L.length-1):L==="TRUE"?L=!0:L==="FALSE"?L=!1:isNaN(ka(L))?isNaN(Su(L).getDate())||(L=Mr(L)):(L=ka(L),w!==null&&Ab(w)&&(L=Db(L))),U=!0;break;case"E":de=!0;var B=zB(G[g].slice(1),{r:m,c:y});x[m][y]=[x[m][y],B];break;case"S":oe=!0,x[m][y]=[x[m][y],"S5S"];break;case"G":break;case"R":fe=parseInt(G[g].slice(1))-1;break;case"C":Fe=parseInt(G[g].slice(1))-1;break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+j)}if(U&&(x[m][y]&&x[m][y].length==2?x[m][y][0]=L:x[m][y]=L,w=null),oe){if(de)throw new Error("SYLK shared formula cannot have own formula");var H=fe>-1&&x[fe][Fe];if(!H||!H[1])throw new Error("SYLK shared formula cannot find base");x[m][y][1]=UB(H[1],{r:m-fe,c:y-Fe})}break;case"F":var I=0;for(g=1;g<G.length;++g)switch(G[g].charAt(0)){case"X":y=parseInt(G[g].slice(1))-1,++I;break;case"Y":for(m=parseInt(G[g].slice(1))-1,z=x.length;z<=m;++z)x[z]=[];break;case"M":R=parseInt(G[g].slice(1))/20;break;case"F":break;case"G":break;case"P":w=_[parseInt(G[g].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(F=G[g].slice(1).split(" "),z=parseInt(F[0],10);z<=parseInt(F[1],10);++z)R=parseInt(F[2],10),O[z-1]=R===0?{hidden:!0}:{wch:R},Mv(O[z-1]);break;case"C":y=parseInt(G[g].slice(1))-1,O[y]||(O[y]={});break;case"R":m=parseInt(G[g].slice(1))-1,E[m]||(E[m]={}),R>0?(E[m].hpt=R,E[m].hpx=x5(R)):R===0&&(E[m].hidden=!0);break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+j)}I<1&&(w=null);break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+j)}}return E.length>0&&(T["!rows"]=E),O.length>0&&(T["!cols"]=O),d&&d.sheetRows&&(x=x.slice(0,d.sheetRows)),[x,T]}function l(h,d){var p=a(h,d),m=p[0],y=p[1],v=Ws(m,d);return wr(y).forEach(function(g){v[g]=y[g]}),v}function s(h,d){return Ol(l(h,d),d)}function o(h,d,p,m){var y="C;Y"+(p+1)+";X"+(m+1)+";K";switch(h.t){case"n":y+=h.v||0,h.f&&!h.F&&(y+=";E"+Lv(h.f,{r:p,c:m}));break;case"b":y+=h.v?"TRUE":"FALSE";break;case"e":y+=h.w||h.v;break;case"d":y+='"'+(h.w||h.v)+'"';break;case"s":y+='"'+h.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return y}function u(h,d){d.forEach(function(p,m){var y="F;W"+(m+1)+" "+(m+1)+" ";p.hidden?y+="0":(typeof p.width=="number"&&!p.wpx&&(p.wpx=i0(p.width)),typeof p.wpx=="number"&&!p.wch&&(p.wch=l0(p.wpx)),typeof p.wch=="number"&&(y+=Math.round(p.wch))),y.charAt(y.length-1)!=" "&&h.push(y)})}function c(h,d){d.forEach(function(p,m){var y="F;";p.hidden?y+="M0;":p.hpt?y+="M"+20*p.hpt+";":p.hpx&&(y+="M"+20*s0(p.hpx)+";"),y.length>2&&h.push(y+"R"+(m+1))})}function f(h,d){var p=["ID;PWXL;N;E"],m=[],y=gt(h["!ref"]),v,g=Array.isArray(h),x=`\r
`;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),h["!cols"]&&u(p,h["!cols"]),h["!rows"]&&c(p,h["!rows"]),p.push("B;Y"+(y.e.r-y.s.r+1)+";X"+(y.e.c-y.s.c+1)+";D"+[y.s.c,y.s.r,y.e.c,y.e.r].join(" "));for(var _=y.s.r;_<=y.e.r;++_)for(var w=y.s.c;w<=y.e.c;++w){var T=rt({r:_,c:w});v=g?(h[_]||[])[w]:h[T],!(!v||v.v==null&&(!v.f||v.F))&&m.push(o(v,h,_,w))}return p.join(x)+x+m.join(x)+x+"E"+x}return{to_workbook:s,to_sheet:l,from_sheet:f}}(),IL=function(){function e(i,l){switch(l.type){case"base64":return t(Va(i),l);case"binary":return t(i,l);case"buffer":return t($e&&Buffer.isBuffer(i)?i.toString("binary"):$u(i),l);case"array":return t(eh(i),l)}throw new Error("Unrecognized type "+l.type)}function t(i,l){for(var s=i.split(`
`),o=-1,u=-1,c=0,f=[];c!==s.length;++c){if(s[c].trim()==="BOT"){f[++o]=[],u=0;continue}if(!(o<0)){var h=s[c].trim().split(","),d=h[0],p=h[1];++c;for(var m=s[c]||"";(m.match(/["]/g)||[]).length&1&&c<s.length-1;)m+=`
`+s[++c];switch(m=m.trim(),+d){case-1:if(m==="BOT"){f[++o]=[],u=0;continue}else if(m!=="EOD")throw new Error("Unrecognized DIF special command "+m);break;case 0:m==="TRUE"?f[o][u]=!0:m==="FALSE"?f[o][u]=!1:isNaN(ka(p))?isNaN(Su(p).getDate())?f[o][u]=p:f[o][u]=Mr(p):f[o][u]=ka(p),++u;break;case 1:m=m.slice(1,m.length-1),m=m.replace(/""/g,'"'),m&&m.match(/^=".*"$/)&&(m=m.slice(2,-1)),f[o][u++]=m!==""?m:null;break}if(m==="EOD")break}}return l&&l.sheetRows&&(f=f.slice(0,l.sheetRows)),f}function r(i,l){return Ws(e(i,l),l)}function n(i,l){return Ol(r(i,l),l)}var a=function(){var i=function(o,u,c,f,h){o.push(u),o.push(c+","+f),o.push('"'+h.replace(/"/g,'""')+'"')},l=function(o,u,c,f){o.push(u+","+c),o.push(u==1?'"'+f.replace(/"/g,'""')+'"':f)};return function(o){var u=[],c=gt(o["!ref"]),f,h=Array.isArray(o);i(u,"TABLE",0,1,"sheetjs"),i(u,"VECTORS",0,c.e.r-c.s.r+1,""),i(u,"TUPLES",0,c.e.c-c.s.c+1,""),i(u,"DATA",0,0,"");for(var d=c.s.r;d<=c.e.r;++d){l(u,-1,0,"BOT");for(var p=c.s.c;p<=c.e.c;++p){var m=rt({r:d,c:p});if(f=h?(o[d]||[])[p]:o[m],!f){l(u,1,0,"");continue}switch(f.t){case"n":var y=f.w;!y&&f.v!=null&&(y=f.v),y==null?f.f&&!f.F?l(u,1,0,"="+f.f):l(u,1,0,""):l(u,0,y,"V");break;case"b":l(u,0,f.v?1:0,f.v?"TRUE":"FALSE");break;case"s":l(u,1,0,isNaN(f.v)?f.v:'="'+f.v+'"');break;case"d":f.w||(f.w=Di(f.z||Ot[14],Xr(Mr(f.v)))),l(u,0,f.w,"V");break;default:l(u,1,0,"")}}}l(u,-1,0,"EOD");var v=`\r
`,g=u.join(v);return g}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),p5=function(){function e(f){return f.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
`)}function t(f){return f.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(f,h){for(var d=f.split(`
`),p=-1,m=-1,y=0,v=[];y!==d.length;++y){var g=d[y].trim().split(":");if(g[0]==="cell"){var x=ir(g[1]);if(v.length<=x.r)for(p=v.length;p<=x.r;++p)v[p]||(v[p]=[]);switch(p=x.r,m=x.c,g[2]){case"t":v[p][m]=e(g[3]);break;case"v":v[p][m]=+g[3];break;case"vtf":var _=g[g.length-1];case"vtc":switch(g[3]){case"nl":v[p][m]=!!+g[4];break;default:v[p][m]=+g[4];break}g[2]=="vtf"&&(v[p][m]=[v[p][m],_])}}}return h&&h.sheetRows&&(v=v.slice(0,h.sheetRows)),v}function n(f,h){return Ws(r(f,h),h)}function a(f,h){return Ol(n(f,h),h)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
`),l=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
`)+`
`,s=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
`),o="--SocialCalcSpreadsheetControlSave--";function u(f){if(!f||!f["!ref"])return"";for(var h=[],d=[],p,m="",y=gn(f["!ref"]),v=Array.isArray(f),g=y.s.r;g<=y.e.r;++g)for(var x=y.s.c;x<=y.e.c;++x)if(m=rt({r:g,c:x}),p=v?(f[g]||[])[x]:f[m],!(!p||p.v==null||p.t==="z")){switch(d=["cell",m,"t"],p.t){case"s":case"str":d.push(t(p.v));break;case"n":p.f?(d[2]="vtf",d[3]="n",d[4]=p.v,d[5]=t(p.f)):(d[2]="v",d[3]=p.v);break;case"b":d[2]="vt"+(p.f?"f":"c"),d[3]="nl",d[4]=p.v?"1":"0",d[5]=t(p.f||(p.v?"TRUE":"FALSE"));break;case"d":var _=Xr(Mr(p.v));d[2]="vtc",d[3]="nd",d[4]=""+_,d[5]=p.w||Di(p.z||Ot[14],_);break;case"e":continue}h.push(d.join(":"))}return h.push("sheet:c:"+(y.e.c-y.s.c+1)+":r:"+(y.e.r-y.s.r+1)+":tvf:1"),h.push("valueformat:1:text-wiki"),h.join(`
`)}function c(f){return[i,l,s,l,u(f),o].join(`
`)}return{to_workbook:a,to_sheet:n,from_sheet:c}}(),HL=function(){function e(c,f,h,d,p){p.raw?f[h][d]=c:c===""||(c==="TRUE"?f[h][d]=!0:c==="FALSE"?f[h][d]=!1:isNaN(ka(c))?isNaN(Su(c).getDate())?f[h][d]=c:f[h][d]=Mr(c):f[h][d]=ka(c))}function t(c,f){var h=f||{},d=[];if(!c||c.length===0)return d;for(var p=c.split(/[\r\n]/),m=p.length-1;m>=0&&p[m].length===0;)--m;for(var y=10,v=0,g=0;g<=m;++g)v=p[g].indexOf(" "),v==-1?v=p[g].length:v++,y=Math.max(y,v);for(g=0;g<=m;++g){d[g]=[];var x=0;for(e(p[g].slice(0,y).trim(),d,g,x,h),x=1;x<=(p[g].length-y)/10+1;++x)e(p[g].slice(y+(x-1)*10,y+x*10).trim(),d,g,x,h)}return h.sheetRows&&(d=d.slice(0,h.sheetRows)),d}var r={44:",",9:"	",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(c){for(var f={},h=!1,d=0,p=0;d<c.length;++d)(p=c.charCodeAt(d))==34?h=!h:!h&&p in r&&(f[p]=(f[p]||0)+1);p=[];for(d in f)Object.prototype.hasOwnProperty.call(f,d)&&p.push([f[d],d]);if(!p.length){f=n;for(d in f)Object.prototype.hasOwnProperty.call(f,d)&&p.push([f[d],d])}return p.sort(function(m,y){return m[0]-y[0]||n[m[1]]-n[y[1]]}),r[p.pop()[1]]||44}function i(c,f){var h=f||{},d="",p=h.dense?[]:{},m={s:{c:0,r:0},e:{c:0,r:0}};c.slice(0,4)=="sep="?c.charCodeAt(5)==13&&c.charCodeAt(6)==10?(d=c.charAt(4),c=c.slice(7)):c.charCodeAt(5)==13||c.charCodeAt(5)==10?(d=c.charAt(4),c=c.slice(6)):d=a(c.slice(0,1024)):h&&h.FS?d=h.FS:d=a(c.slice(0,1024));var y=0,v=0,g=0,x=0,_=0,w=d.charCodeAt(0),T=!1,E=0,O=c.charCodeAt(0);c=c.replace(/\r\n/mg,`
`);var F=h.dateNF!=null?ak(h.dateNF):null;function R(){var z=c.slice(x,_),j={};if(z.charAt(0)=='"'&&z.charAt(z.length-1)=='"'&&(z=z.slice(1,-1).replace(/""/g,'"')),z.length===0)j.t="z";else if(h.raw)j.t="s",j.v=z;else if(z.trim().length===0)j.t="s",j.v=z;else if(z.charCodeAt(0)==61)z.charCodeAt(1)==34&&z.charCodeAt(z.length-1)==34?(j.t="s",j.v=z.slice(2,-1).replace(/""/g,'"')):jB(z)?(j.t="n",j.f=z.slice(1)):(j.t="s",j.v=z);else if(z=="TRUE")j.t="b",j.v=!0;else if(z=="FALSE")j.t="b",j.v=!1;else if(!isNaN(g=ka(z)))j.t="n",h.cellText!==!1&&(j.w=z),j.v=g;else if(!isNaN(Su(z).getDate())||F&&z.match(F)){j.z=h.dateNF||Ot[14];var G=0;F&&z.match(F)&&(z=ik(z,h.dateNF,z.match(F)||[]),G=1),h.cellDates?(j.t="d",j.v=Mr(z,G)):(j.t="n",j.v=Xr(Mr(z,G))),h.cellText!==!1&&(j.w=Di(j.z,j.v instanceof Date?Xr(j.v):j.v)),h.cellNF||delete j.z}else j.t="s",j.v=z;if(j.t=="z"||(h.dense?(p[y]||(p[y]=[]),p[y][v]=j):p[rt({c:v,r:y})]=j),x=_+1,O=c.charCodeAt(x),m.e.c<v&&(m.e.c=v),m.e.r<y&&(m.e.r=y),E==w)++v;else if(v=0,++y,h.sheetRows&&h.sheetRows<=y)return!0}e:for(;_<c.length;++_)switch(E=c.charCodeAt(_)){case 34:O===34&&(T=!T);break;case w:case 10:case 13:if(!T&&R())break e;break}return _-x>0&&R(),p["!ref"]=Gt(m),p}function l(c,f){return!(f&&f.PRN)||f.FS||c.slice(0,4)=="sep="||c.indexOf("	")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?i(c,f):Ws(t(c,f),f)}function s(c,f){var h="",d=f.type=="string"?[0,0,0,0]:eI(c,f);switch(f.type){case"base64":h=Va(c);break;case"binary":h=c;break;case"buffer":f.codepage==65001?h=c.toString("utf8"):f.codepage&&typeof Zf<"u"||(h=$e&&Buffer.isBuffer(c)?c.toString("binary"):$u(c));break;case"array":h=eh(c);break;case"string":h=c;break;default:throw new Error("Unrecognized type "+f.type)}return d[0]==239&&d[1]==187&&d[2]==191?h=qo(h.slice(3)):f.type!="string"&&f.type!="buffer"&&f.codepage==65001?h=qo(h):f.type=="binary"&&typeof Zf<"u",h.slice(0,19)=="socialcalc:version:"?p5.to_sheet(f.type=="string"?h:qo(h),f):l(h,f)}function o(c,f){return Ol(s(c,f),f)}function u(c){for(var f=[],h=gt(c["!ref"]),d,p=Array.isArray(c),m=h.s.r;m<=h.e.r;++m){for(var y=[],v=h.s.c;v<=h.e.c;++v){var g=rt({r:m,c:v});if(d=p?(c[m]||[])[v]:c[g],!d||d.v==null){y.push("          ");continue}for(var x=(d.w||(Ga(d),d.w)||"").slice(0,10);x.length<10;)x+=" ";y.push(x+(v===0?" ":""))}f.push(y.join(""))}return f.join(`
`)}return{to_workbook:o,to_sheet:s,from_sheet:u}}(),aE=function(){function e(B,H,I){if(B){Qr(B,B.l||0);for(var V=I.Enum||fe;B.l<B.length;){var re=B.read_shift(2),ve=V[re]||V[65535],Q=B.read_shift(2),W=B.l+Q,q=ve.f&&ve.f(B,Q,I);if(B.l=W,H(q,ve,re))return}}}function t(B,H){switch(H.type){case"base64":return r($n(Va(B)),H);case"binary":return r($n(B),H);case"buffer":case"array":return r(B,H)}throw"Unsupported type "+H.type}function r(B,H){if(!B)return B;var I=H||{},V=I.dense?[]:{},re="Sheet1",ve="",Q=0,W={},q=[],me=[],Ce={s:{r:0,c:0},e:{r:0,c:0}},Ge=I.sheetRows||0;if(B[2]==0&&(B[3]==8||B[3]==9)&&B.length>=16&&B[14]==5&&B[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(B[2]==2)I.Enum=fe,e(B,function(_e,ht,nt){switch(nt){case 0:I.vers=_e,_e>=4096&&(I.qpro=!0);break;case 6:Ce=_e;break;case 204:_e&&(ve=_e);break;case 222:ve=_e;break;case 15:case 51:I.qpro||(_e[1].v=_e[1].v.slice(1));case 13:case 14:case 16:nt==14&&(_e[2]&112)==112&&(_e[2]&15)>1&&(_e[2]&15)<15&&(_e[1].z=I.dateNF||Ot[14],I.cellDates&&(_e[1].t="d",_e[1].v=Db(_e[1].v))),I.qpro&&_e[3]>Q&&(V["!ref"]=Gt(Ce),W[re]=V,q.push(re),V=I.dense?[]:{},Ce={s:{r:0,c:0},e:{r:0,c:0}},Q=_e[3],re=ve||"Sheet"+(Q+1),ve="");var M=I.dense?(V[_e[0].r]||[])[_e[0].c]:V[rt(_e[0])];if(M){M.t=_e[1].t,M.v=_e[1].v,_e[1].z!=null&&(M.z=_e[1].z),_e[1].f!=null&&(M.f=_e[1].f);break}I.dense?(V[_e[0].r]||(V[_e[0].r]=[]),V[_e[0].r][_e[0].c]=_e[1]):V[rt(_e[0])]=_e[1];break}},I);else if(B[2]==26||B[2]==14)I.Enum=Fe,B[2]==14&&(I.qpro=!0,B.l=0),e(B,function(_e,ht,nt){switch(nt){case 204:re=_e;break;case 22:_e[1].v=_e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(_e[3]>Q&&(V["!ref"]=Gt(Ce),W[re]=V,q.push(re),V=I.dense?[]:{},Ce={s:{r:0,c:0},e:{r:0,c:0}},Q=_e[3],re="Sheet"+(Q+1)),Ge>0&&_e[0].r>=Ge)break;I.dense?(V[_e[0].r]||(V[_e[0].r]=[]),V[_e[0].r][_e[0].c]=_e[1]):V[rt(_e[0])]=_e[1],Ce.e.c<_e[0].c&&(Ce.e.c=_e[0].c),Ce.e.r<_e[0].r&&(Ce.e.r=_e[0].r);break;case 27:_e[14e3]&&(me[_e[14e3][0]]=_e[14e3][1]);break;case 1537:me[_e[0]]=_e[1],_e[0]==Q&&(re=_e[1]);break}},I);else throw new Error("Unrecognized LOTUS BOF "+B[2]);if(V["!ref"]=Gt(Ce),W[ve||re]=V,q.push(ve||re),!me.length)return{SheetNames:q,Sheets:W};for(var Re={},ot=[],Ie=0;Ie<me.length;++Ie)W[q[Ie]]?(ot.push(me[Ie]||q[Ie]),Re[me[Ie]]=W[me[Ie]]||W[q[Ie]]):(ot.push(me[Ie]),Re[me[Ie]]={"!ref":"A1"});return{SheetNames:ot,Sheets:Re}}function n(B,H){var I=H||{};if(+I.codepage>=0&&Eu(+I.codepage),I.type=="string")throw new Error("Cannot write WK1 to JS string");var V=Gr(),re=gt(B["!ref"]),ve=Array.isArray(B),Q=[];ye(V,0,i(1030)),ye(V,6,o(re));for(var W=Math.min(re.e.r,8191),q=re.s.r;q<=W;++q)for(var me=Er(q),Ce=re.s.c;Ce<=re.e.c;++Ce){q===re.s.r&&(Q[Ce]=Tr(Ce));var Ge=Q[Ce]+me,Re=ve?(B[q]||[])[Ce]:B[Ge];if(!(!Re||Re.t=="z"))if(Re.t=="n")(Re.v|0)==Re.v&&Re.v>=-32768&&Re.v<=32767?ye(V,13,d(q,Ce,Re.v)):ye(V,14,m(q,Ce,Re.v));else{var ot=Ga(Re);ye(V,15,f(q,Ce,ot.slice(0,239)))}}return ye(V,1),V.end()}function a(B,H){var I=H||{};if(+I.codepage>=0&&Eu(+I.codepage),I.type=="string")throw new Error("Cannot write WK3 to JS string");var V=Gr();ye(V,0,l(B));for(var re=0,ve=0;re<B.SheetNames.length;++re)(B.Sheets[B.SheetNames[re]]||{})["!ref"]&&ye(V,27,de(B.SheetNames[re],ve++));var Q=0;for(re=0;re<B.SheetNames.length;++re){var W=B.Sheets[B.SheetNames[re]];if(!(!W||!W["!ref"])){for(var q=gt(W["!ref"]),me=Array.isArray(W),Ce=[],Ge=Math.min(q.e.r,8191),Re=q.s.r;Re<=Ge;++Re)for(var ot=Er(Re),Ie=q.s.c;Ie<=q.e.c;++Ie){Re===q.s.r&&(Ce[Ie]=Tr(Ie));var _e=Ce[Ie]+ot,ht=me?(W[Re]||[])[Ie]:W[_e];if(!(!ht||ht.t=="z"))if(ht.t=="n")ye(V,23,R(Re,Ie,Q,ht.v));else{var nt=Ga(ht);ye(V,22,E(Re,Ie,Q,nt.slice(0,239)))}}++Q}}return ye(V,1),V.end()}function i(B){var H=ie(2);return H.write_shift(2,B),H}function l(B){var H=ie(26);H.write_shift(2,4096),H.write_shift(2,4),H.write_shift(4,0);for(var I=0,V=0,re=0,ve=0;ve<B.SheetNames.length;++ve){var Q=B.SheetNames[ve],W=B.Sheets[Q];if(!(!W||!W["!ref"])){++re;var q=gn(W["!ref"]);I<q.e.r&&(I=q.e.r),V<q.e.c&&(V=q.e.c)}}return I>8191&&(I=8191),H.write_shift(2,I),H.write_shift(1,re),H.write_shift(1,V),H.write_shift(2,0),H.write_shift(2,0),H.write_shift(1,1),H.write_shift(1,2),H.write_shift(4,0),H.write_shift(4,0),H}function s(B,H,I){var V={s:{c:0,r:0},e:{c:0,r:0}};return H==8&&I.qpro?(V.s.c=B.read_shift(1),B.l++,V.s.r=B.read_shift(2),V.e.c=B.read_shift(1),B.l++,V.e.r=B.read_shift(2),V):(V.s.c=B.read_shift(2),V.s.r=B.read_shift(2),H==12&&I.qpro&&(B.l+=2),V.e.c=B.read_shift(2),V.e.r=B.read_shift(2),H==12&&I.qpro&&(B.l+=2),V.s.c==65535&&(V.s.c=V.e.c=V.s.r=V.e.r=0),V)}function o(B){var H=ie(8);return H.write_shift(2,B.s.c),H.write_shift(2,B.s.r),H.write_shift(2,B.e.c),H.write_shift(2,B.e.r),H}function u(B,H,I){var V=[{c:0,r:0},{t:"n",v:0},0,0];return I.qpro&&I.vers!=20768?(V[0].c=B.read_shift(1),V[3]=B.read_shift(1),V[0].r=B.read_shift(2),B.l+=2):(V[2]=B.read_shift(1),V[0].c=B.read_shift(2),V[0].r=B.read_shift(2)),V}function c(B,H,I){var V=B.l+H,re=u(B,H,I);if(re[1].t="s",I.vers==20768){B.l++;var ve=B.read_shift(1);return re[1].v=B.read_shift(ve,"utf8"),re}return I.qpro&&B.l++,re[1].v=B.read_shift(V-B.l,"cstr"),re}function f(B,H,I){var V=ie(7+I.length);V.write_shift(1,255),V.write_shift(2,H),V.write_shift(2,B),V.write_shift(1,39);for(var re=0;re<V.length;++re){var ve=I.charCodeAt(re);V.write_shift(1,ve>=128?95:ve)}return V.write_shift(1,0),V}function h(B,H,I){var V=u(B,H,I);return V[1].v=B.read_shift(2,"i"),V}function d(B,H,I){var V=ie(7);return V.write_shift(1,255),V.write_shift(2,H),V.write_shift(2,B),V.write_shift(2,I,"i"),V}function p(B,H,I){var V=u(B,H,I);return V[1].v=B.read_shift(8,"f"),V}function m(B,H,I){var V=ie(13);return V.write_shift(1,255),V.write_shift(2,H),V.write_shift(2,B),V.write_shift(8,I,"f"),V}function y(B,H,I){var V=B.l+H,re=u(B,H,I);if(re[1].v=B.read_shift(8,"f"),I.qpro)B.l=V;else{var ve=B.read_shift(2);_(B.slice(B.l,B.l+ve),re),B.l+=ve}return re}function v(B,H,I){var V=H&32768;return H&=-32769,H=(V?B:0)+(H>=8192?H-16384:H),(V?"":"$")+(I?Tr(H):Er(H))}var g={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},x=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function _(B,H){Qr(B,0);for(var I=[],V=0,re="",ve="",Q="",W="";B.l<B.length;){var q=B[B.l++];switch(q){case 0:I.push(B.read_shift(8,"f"));break;case 1:ve=v(H[0].c,B.read_shift(2),!0),re=v(H[0].r,B.read_shift(2),!1),I.push(ve+re);break;case 2:{var me=v(H[0].c,B.read_shift(2),!0),Ce=v(H[0].r,B.read_shift(2),!1);ve=v(H[0].c,B.read_shift(2),!0),re=v(H[0].r,B.read_shift(2),!1),I.push(me+Ce+":"+ve+re)}break;case 3:if(B.l<B.length){console.error("WK1 premature formula end");return}break;case 4:I.push("("+I.pop()+")");break;case 5:I.push(B.read_shift(2));break;case 6:{for(var Ge="";q=B[B.l++];)Ge+=String.fromCharCode(q);I.push('"'+Ge.replace(/"/g,'""')+'"')}break;case 8:I.push("-"+I.pop());break;case 23:I.push("+"+I.pop());break;case 22:I.push("NOT("+I.pop()+")");break;case 20:case 21:W=I.pop(),Q=I.pop(),I.push(["AND","OR"][q-20]+"("+Q+","+W+")");break;default:if(q<32&&x[q])W=I.pop(),Q=I.pop(),I.push(Q+x[q]+W);else if(g[q]){if(V=g[q][1],V==69&&(V=B[B.l++]),V>I.length){console.error("WK1 bad formula parse 0x"+q.toString(16)+":|"+I.join("|")+"|");return}var Re=I.slice(-V);I.length-=V,I.push(g[q][0]+"("+Re.join(",")+")")}else return q<=7?console.error("WK1 invalid opcode "+q.toString(16)):q<=24?console.error("WK1 unsupported op "+q.toString(16)):q<=30?console.error("WK1 invalid opcode "+q.toString(16)):q<=115?console.error("WK1 unsupported function opcode "+q.toString(16)):console.error("WK1 unrecognized opcode "+q.toString(16))}}I.length==1?H[1].f=""+I[0]:console.error("WK1 bad formula parse |"+I.join("|")+"|")}function w(B){var H=[{c:0,r:0},{t:"n",v:0},0];return H[0].r=B.read_shift(2),H[3]=B[B.l++],H[0].c=B[B.l++],H}function T(B,H){var I=w(B);return I[1].t="s",I[1].v=B.read_shift(H-4,"cstr"),I}function E(B,H,I,V){var re=ie(6+V.length);re.write_shift(2,B),re.write_shift(1,I),re.write_shift(1,H),re.write_shift(1,39);for(var ve=0;ve<V.length;++ve){var Q=V.charCodeAt(ve);re.write_shift(1,Q>=128?95:Q)}return re.write_shift(1,0),re}function O(B,H){var I=w(B);I[1].v=B.read_shift(2);var V=I[1].v>>1;if(I[1].v&1)switch(V&7){case 0:V=(V>>3)*5e3;break;case 1:V=(V>>3)*500;break;case 2:V=(V>>3)/20;break;case 3:V=(V>>3)/200;break;case 4:V=(V>>3)/2e3;break;case 5:V=(V>>3)/2e4;break;case 6:V=(V>>3)/16;break;case 7:V=(V>>3)/64;break}return I[1].v=V,I}function F(B,H){var I=w(B),V=B.read_shift(4),re=B.read_shift(4),ve=B.read_shift(2);if(ve==65535)return V===0&&re===3221225472?(I[1].t="e",I[1].v=15):V===0&&re===3489660928?(I[1].t="e",I[1].v=42):I[1].v=0,I;var Q=ve&32768;return ve=(ve&32767)-16446,I[1].v=(1-Q*2)*(re*Math.pow(2,ve+32)+V*Math.pow(2,ve)),I}function R(B,H,I,V){var re=ie(14);if(re.write_shift(2,B),re.write_shift(1,I),re.write_shift(1,H),V==0)return re.write_shift(4,0),re.write_shift(4,0),re.write_shift(2,65535),re;var ve=0,Q=0,W=0,q=0;return V<0&&(ve=1,V=-V),Q=Math.log2(V)|0,V/=Math.pow(2,Q-31),q=V>>>0,q&2147483648||(V/=2,++Q,q=V>>>0),V-=q,q|=2147483648,q>>>=0,V*=Math.pow(2,32),W=V>>>0,re.write_shift(4,W),re.write_shift(4,q),Q+=16383+(ve?32768:0),re.write_shift(2,Q),re}function z(B,H){var I=F(B);return B.l+=H-14,I}function j(B,H){var I=w(B),V=B.read_shift(4);return I[1].v=V>>6,I}function G(B,H){var I=w(B),V=B.read_shift(8,"f");return I[1].v=V,I}function ce(B,H){var I=G(B);return B.l+=H-10,I}function L(B,H){return B[B.l+H-1]==0?B.read_shift(H,"cstr"):""}function U(B,H){var I=B[B.l++];I>H-1&&(I=H-1);for(var V="";V.length<I;)V+=String.fromCharCode(B[B.l++]);return V}function ee(B,H,I){if(!(!I.qpro||H<21)){var V=B.read_shift(1);B.l+=17,B.l+=1,B.l+=2;var re=B.read_shift(H-21,"cstr");return[V,re]}}function oe(B,H){for(var I={},V=B.l+H;B.l<V;){var re=B.read_shift(2);if(re==14e3){for(I[re]=[0,""],I[re][0]=B.read_shift(2);B[B.l];)I[re][1]+=String.fromCharCode(B[B.l]),B.l++;B.l++}}return I}function de(B,H){var I=ie(5+B.length);I.write_shift(2,14e3),I.write_shift(2,H);for(var V=0;V<B.length;++V){var re=B.charCodeAt(V);I[I.l++]=re>127?95:re}return I[I.l++]=0,I}var fe={0:{n:"BOF",f:u5},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:s},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:h},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:y},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:c},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:L},222:{n:"SHEETNAMELP",f:U},65535:{n:""}},Fe={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:T},23:{n:"NUMBER17",f:F},24:{n:"NUMBER18",f:O},25:{n:"FORMULA19",f:z},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:oe},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:j},38:{n:"??"},39:{n:"NUMBER27",f:G},40:{n:"FORMULA28",f:ce},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:L},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:ee},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}(),VL=/^\s|\s$|[\t\n\r]/;function m5(e,t){if(!t.bookSST)return"";var r=[Xt];r[r.length]=xe("sst",null,{xmlns:Zs[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="<si>";a.r?i+=a.r:(i+="<t",a.t||(a.t=""),a.t.match(VL)&&(i+=' xml:space="preserve"'),i+=">"+tt(a.t)+"</t>"),i+="</si>",r[r.length]=i}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function GL(e){return[e.read_shift(4),e.read_shift(4)]}function $L(e,t){return t||(t=ie(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var XL=Bk;function YL(e){var t=Gr();he(t,159,$L(e));for(var r=0;r<e.length;++r)he(t,19,XL(e[r]));return he(t,160),t.end()}function qL(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function v5(e){var t=0,r,n=qL(e),a=n.length+1,i,l,s,o,u;for(r=gl(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)l=r[i],s=t&16384?1:0,o=t<<1&32767,u=s|o,t=u^l;return t^52811}var KL=function(){function e(a,i){switch(i.type){case"base64":return t(Va(a),i);case"binary":return t(a,i);case"buffer":return t($e&&Buffer.isBuffer(a)?a.toString("binary"):$u(a),i);case"array":return t(eh(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var l=i||{},s=l.dense?[]:{},o=a.match(/\\trowd.*?\\row\b/g);if(!o.length)throw new Error("RTF missing table");var u={s:{c:0,r:0},e:{c:0,r:o.length-1}};return o.forEach(function(c,f){Array.isArray(s)&&(s[f]=[]);for(var h=/\\\w+\b/g,d=0,p,m=-1;p=h.exec(c);){switch(p[0]){case"\\cell":var y=c.slice(d,h.lastIndex-p[0].length);if(y[0]==" "&&(y=y.slice(1)),++m,y.length){var v={v:y,t:"s"};Array.isArray(s)?s[f][m]=v:s[rt({r:f,c:m})]=v}break}d=h.lastIndex}m>u.e.c&&(u.e.c=m)}),s["!ref"]=Gt(u),s}function r(a,i){return Ol(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],l=gt(a["!ref"]),s,o=Array.isArray(a),u=l.s.r;u<=l.e.r;++u){i.push("\\trowd\\trautofit1");for(var c=l.s.c;c<=l.e.c;++c)i.push("\\cellx"+(c+1));for(i.push("\\pard\\intbl"),c=l.s.c;c<=l.e.c;++c){var f=rt({r:u,c});s=o?(a[u]||[])[c]:a[f],!(!s||s.v==null&&(!s.f||s.F))&&(i.push(" "+(s.w||(Ga(s),s.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function iE(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var ZL=6,La=ZL;function i0(e){return Math.floor((e+Math.round(128/La)/256)*La)}function l0(e){return Math.floor((e-5)/La*100+.5)/100}function kp(e){return Math.round((e*La+5)/La*256)/256}function Mv(e){e.width?(e.wpx=i0(e.width),e.wch=l0(e.wpx),e.MDW=La):e.wpx?(e.wch=l0(e.wpx),e.width=kp(e.wch),e.MDW=La):typeof e.wch=="number"&&(e.width=kp(e.wch),e.wpx=i0(e.width),e.MDW=La),e.customWidth&&delete e.customWidth}var WL=96,g5=WL;function s0(e){return e*96/g5}function x5(e){return e*g5/96}function QL(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=xe("numFmt",null,{numFmtId:n,formatCode:tt(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=xe("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function JL(e){var t=[];return t[t.length]=xe("cellXfs",null),e.forEach(function(r){t[t.length]=xe("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=xe("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function y5(e,t){var r=[Xt,xe("styleSheet",null,{xmlns:Zs[0],"xmlns:vt":ar.vt})],n;return e.SSF&&(n=QL(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=JL(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function eB(e,t){var r=e.read_shift(2),n=Fr(e);return[r,n]}function tB(e,t,r){r||(r=ie(6+4*t.length)),r.write_shift(2,e),lr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function rB(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=Vk(e);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var l=e.read_shift(1);l!=0&&(n.underline=l);var s=e.read_shift(1);s>0&&(n.family=s);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=Hk(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Fr(e),n}function nB(e,t){t||(t=ie(25+4*32)),t.write_shift(2,e.sz*20),Gk(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),n0(e.color,t);var n=0;return n=2,t.write_shift(1,n),lr(e.name,t),t.length>t.l?t.slice(0,t.l):t}var aB=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],ud,iB=sa;function lE(e,t){t||(t=ie(4*3+8*7+16*1)),ud||(ud=Ev(aB));var r=ud[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(n0({auto:1},t),n0({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function lB(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function _5(e,t,r){r||(r=ie(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Eo(e,t){return t||(t=ie(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var sB=sa;function oB(e,t){return t||(t=ie(51)),t.write_shift(1,0),Eo(null,t),Eo(null,t),Eo(null,t),Eo(null,t),Eo(null,t),t.length>t.l?t.slice(0,t.l):t}function uB(e,t){return t||(t=ie(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,0),t.write_shift(1,0),r0(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function cB(e,t,r){var n=ie(2052);return n.write_shift(4,e),r0(t,n),r0(r,n),n.length>n.l?n.slice(0,n.l):n}function fB(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&++r}),r!=0&&(he(e,615,Yn(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&he(e,44,tB(a,t[a]))}),he(e,616))}}function hB(e){var t=1;he(e,611,Yn(t)),he(e,43,nB({sz:12,color:{theme:1},name:"Calibri",family:2})),he(e,612)}function dB(e){var t=2;he(e,603,Yn(t)),he(e,45,lE({patternType:"none"})),he(e,45,lE({patternType:"gray125"})),he(e,604)}function pB(e){var t=1;he(e,613,Yn(t)),he(e,46,oB()),he(e,614)}function mB(e){var t=1;he(e,626,Yn(t)),he(e,47,_5({numFmtId:0},65535)),he(e,627)}function vB(e,t){he(e,617,Yn(t.length)),t.forEach(function(r){he(e,47,_5(r,0))}),he(e,618)}function gB(e){var t=1;he(e,619,Yn(t)),he(e,48,uB({xfId:0,name:"Normal"})),he(e,620)}function xB(e){var t=0;he(e,505,Yn(t)),he(e,506)}function yB(e){var t=0;he(e,508,cB(t,"TableStyleMedium9","PivotStyleMedium4")),he(e,509)}function _B(e,t){var r=Gr();return he(r,278),fB(r,e.SSF),hB(r),dB(r),pB(r),mB(r),vB(r,t.cellXfs),gB(r),xB(r),yB(r),he(r,279),r.end()}function E5(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Xt];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ＭＳ Ｐゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="ＭＳ Ｐゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function EB(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Fr(e)}}function wB(e){var t=ie(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),lr(e.name,t),t.slice(0,t.l)}function SB(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function bB(e){var t=ie(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function TB(e,t){var r=ie(8+2*t.length);return r.write_shift(4,e),lr(t,r),r.slice(0,r.l)}function FB(e){return e.l+=4,e.read_shift(4)!=0}function AB(e,t){var r=ie(8);return r.write_shift(4,e),r.write_shift(4,1),r}function OB(){var e=Gr();return he(e,332),he(e,334,Yn(1)),he(e,335,wB({name:"XLDAPR",version:12e4,flags:3496657072})),he(e,336),he(e,339,TB(1,"XLDAPR")),he(e,52),he(e,35,Yn(514)),he(e,4096,Yn(0)),he(e,4097,En(1)),he(e,36),he(e,53),he(e,340),he(e,337,AB(1)),he(e,51,bB([[1,0]])),he(e,338),he(e,333),e.end()}function w5(){var e=[Xt];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
  <metadataTypes count="1">
    <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
  </metadataTypes>
  <futureMetadata name="XLDAPR" count="1">
    <bk>
      <extLst>
        <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
          <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
        </ext>
      </extLst>
    </bk>
  </futureMetadata>
  <cellMetadata count="1">
    <bk>
      <rc t="1" v="0"/>
    </bk>
  </cellMetadata>
</metadata>`),e.join("")}function CB(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=rt(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}var hs=1024;function S5(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[xe("xml",null,{"xmlns:v":en.v,"xmlns:o":en.o,"xmlns:x":en.x,"xmlns:mv":en.mv}).replace(/\/>/,">"),xe("o:shapelayout",xe("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),xe("v:shapetype",[xe("v:stroke",null,{joinstyle:"miter"}),xe("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];hs<e*1e3;)hs+=1e3;return t.forEach(function(i){var l=ir(i[0]),s={color2:"#BEFF82",type:"gradient"};s.type=="gradient"&&(s.angle="-180");var o=s.type=="gradient"?xe("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,u=xe("v:fill",o,s),c={on:"t",obscured:"t"};++hs,a=a.concat(["<v:shape"+Tu({id:"_x0000_s"+hs,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",u,xe("v:shadow",null,c),xe("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",xr("x:Anchor",[l.c+1,0,l.r+1,0,l.c+3,20,l.r+5,20].join(",")),xr("x:AutoFill","False"),xr("x:Row",String(l.r)),xr("x:Column",String(l.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function b5(e){var t=[Xt,xe("comments",null,{xmlns:Zs[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=tt(a.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("<author>tc="+a.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(o){o.a&&(a=r.indexOf(tt(o.a))),i.push(o.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(xr("t",tt(i[0]||"")));else{for(var l=`Comment:
    `+i[0]+`
`,s=1;s<i.length;++s)l+=`Reply:
    `+i[s]+`
`;t.push(xr("t",tt(l)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function RB(e,t,r){var n=[Xt,xe("ThreadedComments",null,{xmlns:ar.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(l,s){if(!l.T){delete l.ID;return}l.a&&t.indexOf(l.a)==-1&&t.push(l.a);var o={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};s==0?i=o.id:o.parentId=i,l.ID=o.id,l.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(l.a)).slice(-12)+"}"),n.push(xe("threadedComment",xr("text",l.t||""),o))})}),n.push("</ThreadedComments>"),n.join("")}function DB(e){var t=[Xt,xe("personList",null,{xmlns:ar.TCMNT,"xmlns:x":Zs[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(xe("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function NB(e){var t={};t.iauthor=e.read_shift(4);var r=Nl(e);return t.rfx=r.s,t.ref=rt(r.s),e.l+=16,t}function MB(e,t){return t==null&&(t=ie(36)),t.write_shift(4,e[1].iauthor),Qs(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var kB=Fr;function LB(e){return lr(e.slice(0,54))}function BB(e){var t=Gr(),r=[];return he(t,628),he(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),he(t,632,LB(a.a)))})}),he(t,631),he(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:ir(n[0]),e:ir(n[0])};he(t,635,MB([i,a])),a.t&&a.t.length>0&&he(t,637,zk(a)),he(t,636),delete a.iauthor})}),he(t,634),he(t,629),t.end()}function PB(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&lt.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var T5=["xlsb","xlsm","xlam","biff8","xla"],zB=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,a,i,l){var s=!1,o=!1;i.length==0?o=!0:i.charAt(0)=="["&&(o=!0,i=i.slice(1,-1)),l.length==0?s=!0:l.charAt(0)=="["&&(s=!0,l=l.slice(1,-1));var u=i.length>0?parseInt(i,10)|0:0,c=l.length>0?parseInt(l,10)|0:0;return s?c+=t.c:--c,o?u+=t.r:--u,a+(s?"":"$")+Tr(c)+(o?"":"$")+Er(u)}return function(a,i){return t=i,a.replace(e,r)}}(),kv=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,Lv=function(){return function(t,r){return t.replace(kv,function(n,a,i,l,s,o){var u=Ov(l)-(i?0:r.c),c=Av(o)-(s?0:r.r),f=c==0?"":s?c+1:"["+c+"]",h=u==0?"":i?u+1:"["+u+"]";return a+"R"+f+"C"+h})}}();function UB(e,t){return e.replace(kv,function(r,n,a,i,l,s){return n+(a=="$"?a+i:Tr(Ov(i)+t.c))+(l=="$"?l+s:Er(Av(s)+t.r))})}function jB(e){return e.length!=1}function Pt(e){e.l+=1}function Ni(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function F5(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return A5(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),l=Ni(e),s=Ni(e);return{s:{r:a,c:l[0],cRel:l[1],rRel:l[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function A5(e){var t=Ni(e),r=Ni(e),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function IB(e,t,r){if(r.biff<8)return A5(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=Ni(e),l=Ni(e);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:l[0],cRel:l[1],rRel:l[2]}}}function O5(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return HB(e);var n=e.read_shift(r&&r.biff==12?4:2),a=Ni(e);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function HB(e){var t=Ni(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function VB(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function GB(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return $B(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),l=(i&16384)>>14,s=(i&32768)>>15;if(i&=16383,s==1)for(;a>524287;)a-=1048576;if(l==1)for(;i>8191;)i=i-16384;return{r:a,c:i,cRel:l,rRel:s}}function $B(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,a=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),a==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:a,rRel:n}}function XB(e,t,r){var n=(e[e.l++]&96)>>5,a=F5(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function YB(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var l=F5(e,i,r);return[n,a,l]}function qB(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function KB(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,a]}function ZB(e,t,r){var n=(e[e.l++]&96)>>5,a=IB(e,t-1,r);return[n,a]}function WB(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function sE(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function QB(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&r.biff==2?1:2));return a}function JB(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function eP(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function tP(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function rP(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function C5(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function nP(e){return e.read_shift(2),C5(e)}function aP(e){return e.read_shift(2),C5(e)}function iP(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=O5(e,0,r);return[n,a]}function lP(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=GB(e,0,r);return[n,a]}function sP(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=O5(e,0,r);return[n,a,i]}function oP(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[oz[a],N5[a],n]}function uP(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:cP(e);return[a,(i[0]===0?N5:sz)[i[1]]]}function cP(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function fP(e,t,r){e.l+=r&&r.biff==2?3:4}function hP(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function dP(e){return e.l++,qu[e.read_shift(1)]}function pP(e){return e.l++,e.read_shift(2)}function mP(e){return e.l++,e.read_shift(1)!==0}function vP(e){return e.l++,Js(e)}function gP(e,t,r){return e.l++,f5(e,t-1,r)}function xP(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=sL(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=qu[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Js(e);break;case 2:r[1]=fL(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function yP(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),a=[],i=0;i!=n;++i)a.push((r.biff==12?Nl:pL)(e));return a}function _P(e,t,r){var n=0,a=0;r.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--a==0&&(a=256));for(var i=0,l=[];i!=n&&(l[i]=[]);++i)for(var s=0;s!=a;++s)l[i][s]=xP(e,r.biff);return l}function EP(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function wP(e,t,r){if(r.biff==5)return SP(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function SP(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function bP(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function TP(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function FP(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function AP(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,a]}var OP=sa,CP=sa,RP=sa;function Ku(e,t,r){return e.l+=2,[VB(e)]}function Bv(e){return e.l+=6,[]}var DP=Ku,NP=Bv,MP=Bv,kP=Ku;function R5(e){return e.l+=2,[u5(e),e.read_shift(2)&1]}var LP=Ku,BP=R5,PP=Bv,zP=Ku,UP=Ku,jP=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function IP(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2),l=jP[r>>2&31];return{ixti:t,coltype:r&3,rt:l,idx:n,c:a,C:i}}function HP(e){return e.l+=2,[e.read_shift(4)]}function VP(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function GP(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function $P(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function XP(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function YP(e){return e.l+=4,[0,0]}var oE={1:{n:"PtgExp",f:hP},2:{n:"PtgTbl",f:RP},3:{n:"PtgAdd",f:Pt},4:{n:"PtgSub",f:Pt},5:{n:"PtgMul",f:Pt},6:{n:"PtgDiv",f:Pt},7:{n:"PtgPower",f:Pt},8:{n:"PtgConcat",f:Pt},9:{n:"PtgLt",f:Pt},10:{n:"PtgLe",f:Pt},11:{n:"PtgEq",f:Pt},12:{n:"PtgGe",f:Pt},13:{n:"PtgGt",f:Pt},14:{n:"PtgNe",f:Pt},15:{n:"PtgIsect",f:Pt},16:{n:"PtgUnion",f:Pt},17:{n:"PtgRange",f:Pt},18:{n:"PtgUplus",f:Pt},19:{n:"PtgUminus",f:Pt},20:{n:"PtgPercent",f:Pt},21:{n:"PtgParen",f:Pt},22:{n:"PtgMissArg",f:Pt},23:{n:"PtgStr",f:gP},26:{n:"PtgSheet",f:VP},27:{n:"PtgEndSheet",f:GP},28:{n:"PtgErr",f:dP},29:{n:"PtgBool",f:mP},30:{n:"PtgInt",f:pP},31:{n:"PtgNum",f:vP},32:{n:"PtgArray",f:WB},33:{n:"PtgFunc",f:oP},34:{n:"PtgFuncVar",f:uP},35:{n:"PtgName",f:EP},36:{n:"PtgRef",f:iP},37:{n:"PtgArea",f:XB},38:{n:"PtgMemArea",f:bP},39:{n:"PtgMemErr",f:OP},40:{n:"PtgMemNoMem",f:CP},41:{n:"PtgMemFunc",f:TP},42:{n:"PtgRefErr",f:FP},43:{n:"PtgAreaErr",f:qB},44:{n:"PtgRefN",f:lP},45:{n:"PtgAreaN",f:ZB},46:{n:"PtgMemAreaN",f:$P},47:{n:"PtgMemNoMemN",f:XP},57:{n:"PtgNameX",f:wP},58:{n:"PtgRef3d",f:sP},59:{n:"PtgArea3d",f:YB},60:{n:"PtgRefErr3d",f:AP},61:{n:"PtgAreaErr3d",f:KB},255:{}},qP={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},KP={1:{n:"PtgElfLel",f:R5},2:{n:"PtgElfRw",f:zP},3:{n:"PtgElfCol",f:DP},6:{n:"PtgElfRwV",f:UP},7:{n:"PtgElfColV",f:kP},10:{n:"PtgElfRadical",f:LP},11:{n:"PtgElfRadicalS",f:PP},13:{n:"PtgElfColS",f:NP},15:{n:"PtgElfColSV",f:MP},16:{n:"PtgElfRadicalLel",f:BP},25:{n:"PtgList",f:IP},29:{n:"PtgSxName",f:HP},255:{}},ZP={0:{n:"PtgAttrNoop",f:YP},1:{n:"PtgAttrSemi",f:rP},2:{n:"PtgAttrIf",f:eP},4:{n:"PtgAttrChoose",f:QB},8:{n:"PtgAttrGoto",f:JB},16:{n:"PtgAttrSum",f:fP},32:{n:"PtgAttrBaxcel",f:sE},33:{n:"PtgAttrBaxcel",f:sE},64:{n:"PtgAttrSpace",f:nP},65:{n:"PtgAttrSpaceSemi",f:aP},128:{n:"PtgAttrIfError",f:tP},255:{}};function WP(e,t,r,n){if(n.biff<8)return sa(e,t);for(var a=e.l+t,i=[],l=0;l!==r.length;++l)switch(r[l][0]){case"PtgArray":r[l][1]=_P(e,0,n),i.push(r[l][1]);break;case"PtgMemArea":r[l][2]=yP(e,r[l][1],n),i.push(r[l][2]);break;case"PtgExp":n&&n.biff==12&&(r[l][1][1]=e.read_shift(4),i.push(r[l][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[l][0]}return t=a-e.l,t!==0&&i.push(sa(e,t)),i}function QP(e,t,r){for(var n=e.l+t,a,i,l=[];n!=e.l;)t=n-e.l,i=e[e.l],a=oE[i]||oE[qP[i]],(i===24||i===25)&&(a=(i===24?KP:ZP)[e[e.l+1]]),!a||!a.f?sa(e,t):l.push([a.n,a.f(e,t,r)]);return l}function JP(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],i=0;i<n.length;++i){var l=n[i];if(l)switch(l[0]){case 2:a.push('"'+l[1].replace(/"/g,'""')+'"');break;default:a.push(l[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}var ez={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function tz(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function D5(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function uE(e,t,r){var n=D5(e,t,r);return n=="#REF"?n:tz(n,r)}function Us(e,t,r,n,a){var i=a&&a.biff||8,l={s:{c:0,r:0}},s=[],o,u,c,f=0,h=0,d,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,y="",v=0,g=e[0].length;v<g;++v){var x=e[0][v];switch(x[0]){case"PtgUminus":s.push("-"+s.pop());break;case"PtgUplus":s.push("+"+s.pop());break;case"PtgPercent":s.push(s.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=s.pop(),u=s.pop(),m>=0){switch(e[0][m][1][0]){case 0:y=Ft(" ",e[0][m][1][1]);break;case 1:y=Ft("\r",e[0][m][1][1]);break;default:if(y="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}u=u+y,m=-1}s.push(u+ez[x[0]]+o);break;case"PtgIsect":o=s.pop(),u=s.pop(),s.push(u+" "+o);break;case"PtgUnion":o=s.pop(),u=s.pop(),s.push(u+","+o);break;case"PtgRange":o=s.pop(),u=s.pop(),s.push(u+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Zo(x[1][1],l,a),s.push(Wo(c,i));break;case"PtgRefN":c=r?Zo(x[1][1],r,a):x[1][1],s.push(Wo(c,i));break;case"PtgRef3d":f=x[1][1],c=Zo(x[1][2],l,a),p=uE(n,f,a),s.push(p+"!"+Wo(c,i));break;case"PtgFunc":case"PtgFuncVar":var _=x[1][0],w=x[1][1];_||(_=0),_&=127;var T=_==0?[]:s.slice(-_);s.length-=_,w==="User"&&(w=T.shift()),s.push(w+"("+T.join(",")+")");break;case"PtgBool":s.push(x[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(x[1]);break;case"PtgNum":s.push(String(x[1]));break;case"PtgStr":s.push('"'+x[1].replace(/"/g,'""')+'"');break;case"PtgErr":s.push(x[1]);break;case"PtgAreaN":d=Y_(x[1][1],r?{s:r}:l,a),s.push(sd(d,a));break;case"PtgArea":d=Y_(x[1][1],l,a),s.push(sd(d,a));break;case"PtgArea3d":f=x[1][1],d=x[1][2],p=uE(n,f,a),s.push(p+"!"+sd(d,a));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":h=x[1][2];var E=(n.names||[])[h-1]||(n[0]||[])[h],O=E?E.Name:"SH33TJSNAME"+String(h);O&&O.slice(0,6)=="_xlfn."&&!a.xlfn&&(O=O.slice(6)),s.push(O);break;case"PtgNameX":var F=x[1][1];h=x[1][2];var R;if(a.biff<=5)F<0&&(F=-F),n[F]&&(R=n[F][h]);else{var z="";if(((n[F]||[])[0]||[])[0]==14849||(((n[F]||[])[0]||[])[0]==1025?n[F][h]&&n[F][h].itab>0&&(z=n.SheetNames[n[F][h].itab-1]+"!"):z=n.SheetNames[h-1]+"!"),n[F]&&n[F][h])z+=n[F][h].Name;else if(n[0]&&n[0][h])z+=n[0][h].Name;else{var j=(D5(n,F,a)||"").split(";;");j[h-1]?z=j[h-1]:z+="SH33TJSERRX"}s.push(z);break}R||(R={Name:"SH33TJSERRY"}),s.push(R.Name);break;case"PtgParen":var G="(",ce=")";if(m>=0){switch(y="",e[0][m][1][0]){case 2:G=Ft(" ",e[0][m][1][1])+G;break;case 3:G=Ft("\r",e[0][m][1][1])+G;break;case 4:ce=Ft(" ",e[0][m][1][1])+ce;break;case 5:ce=Ft("\r",e[0][m][1][1])+ce;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}s.push(G+s.pop()+ce);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":c={c:x[1][1],r:x[1][0]};var L={c:r.c,r:r.r};if(n.sharedf[rt(c)]){var U=n.sharedf[rt(c)];s.push(Us(U,l,L,n,a))}else{var ee=!1;for(o=0;o!=n.arrayf.length;++o)if(u=n.arrayf[o],!(c.c<u[0].s.c||c.c>u[0].e.c)&&!(c.r<u[0].s.r||c.r>u[0].e.r)){s.push(Us(u[1],l,L,n,a)),ee=!0;break}ee||s.push(x[1])}break;case"PtgArray":s.push("{"+JP(x[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgList":s.push("Table"+x[1].idx+"[#"+x[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(x));default:throw new Error("Unrecognized Formula Token: "+String(x))}var oe=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&m>=0&&oe.indexOf(e[0][v][0])==-1){x=e[0][m];var de=!0;switch(x[1][0]){case 4:de=!1;case 0:y=Ft(" ",x[1][1]);break;case 5:de=!1;case 1:y=Ft("\r",x[1][1]);break;default:if(y="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+x[1][0])}s.push((de?y:"")+s.pop()+(de?"":y)),m=-1}}if(s.length>1&&a.WTF)throw new Error("bad formula stack");return s[0]}function rz(e){if(e==null){var t=ie(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return xl(e);return xl(0)}function nz(e,t,r,n,a){var i=yl(t,r,a),l=rz(e.v),s=ie(6),o=33;s.write_shift(2,o),s.write_shift(4,0);for(var u=ie(e.bf.length),c=0;c<e.bf.length;++c)u[c]=e.bf[c];var f=gr([i,l,s,u]);return f}function th(e,t,r){var n=e.read_shift(4),a=QP(e,n,r),i=e.read_shift(4),l=i>0?WP(e,i,a,r):null;return[a,l]}var az=th,rh=th,iz=th,lz=th,sz={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},N5={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},oz={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function uz(e){var t="of:="+e.replace(kv,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function cz(e){return e.replace(/\./,"!")}var Qo=typeof Map<"u";function Pv(e,t,r){var n=0,a=e.length;if(r){if(Qo?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=Qo?r.get(t):r[t];n<i.length;++n)if(e[i[n]].t===t)return e.Count++,i[n]}}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t},e.Count++,e.Unique++,r&&(Qo?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function nh(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(La=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=l0(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=kp(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function M5(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Ui(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){Ob(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function fz(e,t,r){if(e&&e["!ref"]){var n=gt(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function hz(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+Gt(e[r])+'"/>';return t+"</mergeCells>"}function dz(e,t,r,n,a){var i=!1,l={},s=null;if(n.bookType!=="xlsx"&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch{}i=!0,l.codeName=bu(tt(o))}if(e&&e["!outline"]){var u={summaryBelow:1,summaryRight:1};e["!outline"].above&&(u.summaryBelow=0),e["!outline"].left&&(u.summaryRight=0),s=(s||"")+xe("outlinePr",null,u)}!i&&!s||(a[a.length]=xe("sheetPr",s,l))}var pz=["objects","scenarios","selectLockedCells","selectUnlockedCells"],mz=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function vz(e){var t={sheet:1};return pz.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),mz.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=v5(e.password).toString(16).toUpperCase()),xe("sheetProtection",null,t)}function gz(e){return M5(e),xe("pageMargins",null,e)}function xz(e,t){for(var r=["<cols>"],n,a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=xe("col",null,nh(a,n)));return r[r.length]="</cols>",r.join("")}function yz(e,t,r,n){var a=typeof e.ref=="string"?e.ref:Gt(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,l=gn(a);l.s.r==l.e.r&&(l.e.r=gn(t["!ref"]).e.r,a=Gt(l));for(var s=0;s<i.length;++s){var o=i[s];if(o.Name=="_xlnm._FilterDatabase"&&o.Sheet==n){o.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return s==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),xe("autoFilter",null,{ref:a})}function _z(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),xe("sheetViews",xe("sheetView",null,a),{})}function Ez(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,l=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=qu[e.v];break;case"d":n&&n.cellDates?a=Mr(e.v,-1).toISOString():(e=Yr(e),e.t="n",a=""+(e.v=Xr(Mr(e.v)))),typeof e.z>"u"&&(e.z=Ot[14]);break;default:a=e.v;break}var s=xr("v",tt(a)),o={r:t},u=Ui(n.cellXfs,e,n);switch(u!==0&&(o.s=u),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){s=xr("v",""+Pv(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=i&&(e.t=i,e.v=l),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=xe("f",tt(e.f),c)+(e.v!=null?s:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),xe("c",s,o)}function wz(e,t,r,n){var a=[],i=[],l=gt(e["!ref"]),s="",o,u="",c=[],f=0,h=0,d=e["!rows"],p=Array.isArray(e),m={r:u},y,v=-1;for(h=l.s.c;h<=l.e.c;++h)c[h]=Tr(h);for(f=l.s.r;f<=l.e.r;++f){for(i=[],u=Er(f),h=l.s.c;h<=l.e.c;++h){o=c[h]+u;var g=p?(e[f]||[])[h]:e[o];g!==void 0&&(s=Ez(g,o,e,t))!=null&&i.push(s)}(i.length>0||d&&d[f])&&(m={r:u},d&&d[f]&&(y=d[f],y.hidden&&(m.hidden=1),v=-1,y.hpx?v=s0(y.hpx):y.hpt&&(v=y.hpt),v>-1&&(m.ht=v,m.customHeight=1),y.level&&(m.outlineLevel=y.level)),a[a.length]=xe("row",i.join(""),m))}if(d)for(;f<d.length;++f)d&&d[f]&&(m={r:f+1},y=d[f],y.hidden&&(m.hidden=1),v=-1,y.hpx?v=s0(y.hpx):y.hpt&&(v=y.hpt),v>-1&&(m.ht=v,m.customHeight=1),y.level&&(m.outlineLevel=y.level),a[a.length]=xe("row","",m));return a.join("")}function k5(e,t,r,n){var a=[Xt,xe("worksheet",null,{xmlns:Zs[0],"xmlns:r":ar.r})],i=r.SheetNames[e],l=0,s="",o=r.Sheets[i];o==null&&(o={});var u=o["!ref"]||"A1",c=gt(u);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+u+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),u=Gt(c)}n||(n={}),o["!comments"]=[];var f=[];dz(o,r,e,t,a),a[a.length]=xe("dimension",null,{ref:u}),a[a.length]=_z(o,t,e,r),t.sheetFormat&&(a[a.length]=xe("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),o["!cols"]!=null&&o["!cols"].length>0&&(a[a.length]=xz(o,o["!cols"])),a[l=a.length]="<sheetData/>",o["!links"]=[],o["!ref"]!=null&&(s=wz(o,t),s.length>0&&(a[a.length]=s)),a.length>l+1&&(a[a.length]="</sheetData>",a[l]=a[l].replace("/>",">")),o["!protect"]&&(a[a.length]=vz(o["!protect"])),o["!autofilter"]!=null&&(a[a.length]=yz(o["!autofilter"],o,r,e)),o["!merges"]!=null&&o["!merges"].length>0&&(a[a.length]=hz(o["!merges"]));var h=-1,d,p=-1;return o["!links"].length>0&&(a[a.length]="<hyperlinks>",o["!links"].forEach(function(m){m[1].Target&&(d={ref:m[0]},m[1].Target.charAt(0)!="#"&&(p=Je(n,-1,tt(m[1].Target).replace(/#.*$/,""),Ve.HLINK),d["r:id"]="rId"+p),(h=m[1].Target.indexOf("#"))>-1&&(d.location=tt(m[1].Target.slice(h+1))),m[1].Tooltip&&(d.tooltip=tt(m[1].Tooltip)),a[a.length]=xe("hyperlink",null,d))}),a[a.length]="</hyperlinks>"),delete o["!links"],o["!margins"]!=null&&(a[a.length]=gz(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=xr("ignoredErrors",xe("ignoredError",null,{numberStoredAsText:1,sqref:u}))),f.length>0&&(p=Je(n,-1,"../drawings/drawing"+(e+1)+".xml",Ve.DRAW),a[a.length]=xe("drawing",null,{"r:id":"rId"+p}),o["!drawing"]=f),o["!comments"].length>0&&(p=Je(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Ve.VML),a[a.length]=xe("legacyDrawing",null,{"r:id":"rId"+p}),o["!legacy"]=p),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function Sz(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=a/20),r}function bz(e,t,r){var n=ie(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=s0(a.hpx)*20:a.hpt&&(i=a.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var l=0;a.level&&(l|=a.level),a.hidden&&(l|=16),(a.hpx||a.hpt)&&(l|=32),n.write_shift(1,l),n.write_shift(1,0);var s=0,o=n.l;n.l+=4;for(var u={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.c<c<<10)){for(var f=-1,h=-1,d=c<<10;d<c+1<<10;++d){u.c=d;var p=Array.isArray(r)?(r[u.r]||[])[u.c]:r[rt(u)];p&&(f<0&&(f=d),h=d)}f<0||(++s,n.write_shift(4,f),n.write_shift(4,h))}var m=n.l;return n.l=o,n.write_shift(4,s),n.l=m,n.length>n.l?n.slice(0,n.l):n}function Tz(e,t,r,n){var a=bz(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&he(e,0,a)}var Fz=Nl,Az=Qs;function Oz(){}function Cz(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=Uk(e),r}function Rz(e,t,r){r==null&&(r=ie(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return n0({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Kb(e,r),r.slice(0,r.l)}function Dz(e){var t=kn(e);return[t]}function Nz(e,t,r){return r==null&&(r=ie(8)),Cl(t,r)}function Mz(e){var t=Rl(e);return[t]}function kz(e,t,r){return r==null&&(r=ie(4)),Dl(t,r)}function Lz(e){var t=kn(e),r=e.read_shift(1);return[t,r,"b"]}function Bz(e,t,r){return r==null&&(r=ie(9)),Cl(t,r),r.write_shift(1,e.v?1:0),r}function Pz(e){var t=Rl(e),r=e.read_shift(1);return[t,r,"b"]}function zz(e,t,r){return r==null&&(r=ie(5)),Dl(t,r),r.write_shift(1,e.v?1:0),r}function Uz(e){var t=kn(e),r=e.read_shift(1);return[t,r,"e"]}function jz(e,t,r){return r==null&&(r=ie(9)),Cl(t,r),r.write_shift(1,e.v),r}function Iz(e){var t=Rl(e),r=e.read_shift(1);return[t,r,"e"]}function Hz(e,t,r){return r==null&&(r=ie(8)),Dl(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function Vz(e){var t=kn(e),r=e.read_shift(4);return[t,r,"s"]}function Gz(e,t,r){return r==null&&(r=ie(12)),Cl(t,r),r.write_shift(4,t.v),r}function $z(e){var t=Rl(e),r=e.read_shift(4);return[t,r,"s"]}function Xz(e,t,r){return r==null&&(r=ie(8)),Dl(t,r),r.write_shift(4,t.v),r}function Yz(e){var t=kn(e),r=Js(e);return[t,r,"n"]}function qz(e,t,r){return r==null&&(r=ie(16)),Cl(t,r),xl(e.v,r),r}function Kz(e){var t=Rl(e),r=Js(e);return[t,r,"n"]}function Zz(e,t,r){return r==null&&(r=ie(12)),Dl(t,r),xl(e.v,r),r}function Wz(e){var t=kn(e),r=Zb(e);return[t,r,"n"]}function Qz(e,t,r){return r==null&&(r=ie(12)),Cl(t,r),Wb(e.v,r),r}function Jz(e){var t=Rl(e),r=Zb(e);return[t,r,"n"]}function eU(e,t,r){return r==null&&(r=ie(8)),Dl(t,r),Wb(e.v,r),r}function tU(e){var t=kn(e),r=Cv(e);return[t,r,"is"]}function rU(e){var t=kn(e),r=Fr(e);return[t,r,"str"]}function nU(e,t,r){return r==null&&(r=ie(12+4*e.v.length)),Cl(t,r),lr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function aU(e){var t=Rl(e),r=Fr(e);return[t,r,"str"]}function iU(e,t,r){return r==null&&(r=ie(8+4*e.v.length)),Dl(t,r),lr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function lU(e,t,r){var n=e.l+t,a=kn(e);a.r=r["!row"];var i=e.read_shift(1),l=[a,i,"b"];if(r.cellFormula){e.l+=2;var s=rh(e,n-e.l,r);l[3]=Us(s,null,a,r.supbooks,r)}else e.l=n;return l}function sU(e,t,r){var n=e.l+t,a=kn(e);a.r=r["!row"];var i=e.read_shift(1),l=[a,i,"e"];if(r.cellFormula){e.l+=2;var s=rh(e,n-e.l,r);l[3]=Us(s,null,a,r.supbooks,r)}else e.l=n;return l}function oU(e,t,r){var n=e.l+t,a=kn(e);a.r=r["!row"];var i=Js(e),l=[a,i,"n"];if(r.cellFormula){e.l+=2;var s=rh(e,n-e.l,r);l[3]=Us(s,null,a,r.supbooks,r)}else e.l=n;return l}function uU(e,t,r){var n=e.l+t,a=kn(e);a.r=r["!row"];var i=Fr(e),l=[a,i,"str"];if(r.cellFormula){e.l+=2;var s=rh(e,n-e.l,r);l[3]=Us(s,null,a,r.supbooks,r)}else e.l=n;return l}var cU=Nl,fU=Qs;function hU(e,t){return t==null&&(t=ie(4)),t.write_shift(4,e),t}function dU(e,t){var r=e.l+t,n=Nl(e),a=Rv(e),i=Fr(e),l=Fr(e),s=Fr(e);e.l=r;var o={rfx:n,relId:a,loc:i,display:s};return l&&(o.Tooltip=l),o}function pU(e,t){var r=ie(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Qs({s:ir(e[0]),e:ir(e[0])},r),Dv("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return lr(a||"",r),lr(e[1].Tooltip||"",r),lr("",r),r.slice(0,r.l)}function mU(){}function vU(e,t,r){var n=e.l+t,a=Qb(e),i=e.read_shift(1),l=[a];if(l[2]=i,r.cellFormula){var s=az(e,n-e.l,r);l[1]=s}else e.l=n;return l}function gU(e,t,r){var n=e.l+t,a=Nl(e),i=[a];if(r.cellFormula){var l=lz(e,n-e.l,r);i[1]=l,e.l=n}else e.l=n;return i}function xU(e,t,r){r==null&&(r=ie(18));var n=nh(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),typeof n.width=="number"&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var L5=["left","right","top","bottom","header","footer"];function yU(e){var t={};return L5.forEach(function(r){t[r]=Js(e)}),t}function _U(e,t){return t==null&&(t=ie(6*8)),M5(e),L5.forEach(function(r){xl(e[r],t)}),t}function EU(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function wU(e,t,r){r==null&&(r=ie(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function SU(e){var t=ie(24);return t.write_shift(4,4),t.write_shift(4,1),Qs(e,t),t}function bU(e,t){return t==null&&(t=ie(16*4+2)),t.write_shift(2,e.password?v5(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function TU(){}function FU(){}function AU(e,t,r,n,a,i,l){if(t.v===void 0)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":t=Yr(t),t.z=t.z||Ot[14],t.v=Xr(Mr(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v;break}var o={r,c:n};switch(o.s=Ui(a.cellXfs,t,a),t.l&&i["!links"].push([rt(o),t.l]),t.c&&i["!comments"].push([rt(o),t.c]),t.t){case"s":case"str":return a.bookSST?(s=Pv(a.Strings,t.v,a.revStrings),o.t="s",o.v=s,l?he(e,18,Xz(t,o)):he(e,7,Gz(t,o))):(o.t="str",l?he(e,17,iU(t,o)):he(e,6,nU(t,o))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?l?he(e,13,eU(t,o)):he(e,2,Qz(t,o)):l?he(e,16,Zz(t,o)):he(e,5,qz(t,o)),!0;case"b":return o.t="b",l?he(e,15,zz(t,o)):he(e,4,Bz(t,o)),!0;case"e":return o.t="e",l?he(e,14,Hz(t,o)):he(e,3,jz(t,o)),!0}return l?he(e,12,kz(t,o)):he(e,1,Nz(t,o)),!0}function OU(e,t,r,n){var a=gt(t["!ref"]||"A1"),i,l="",s=[];he(e,145);var o=Array.isArray(t),u=a.e.r;t["!rows"]&&(u=Math.max(a.e.r,t["!rows"].length-1));for(var c=a.s.r;c<=u;++c){l=Er(c),Tz(e,t,a,c);var f=!1;if(c<=a.e.r)for(var h=a.s.c;h<=a.e.c;++h){c===a.s.r&&(s[h]=Tr(h)),i=s[h]+l;var d=o?(t[c]||[])[h]:t[i];if(!d){f=!1;continue}f=AU(e,d,c,h,n,t,f)}}he(e,146)}function CU(e,t){!t||!t["!merges"]||(he(e,177,hU(t["!merges"].length)),t["!merges"].forEach(function(r){he(e,176,fU(r))}),he(e,178))}function RU(e,t){!t||!t["!cols"]||(he(e,390),t["!cols"].forEach(function(r,n){r&&he(e,60,xU(n,r))}),he(e,391))}function DU(e,t){!t||!t["!ref"]||(he(e,648),he(e,649,SU(gt(t["!ref"]))),he(e,650))}function NU(e,t,r){t["!links"].forEach(function(n){if(n[1].Target){var a=Je(r,-1,n[1].Target.replace(/#.*$/,""),Ve.HLINK);he(e,494,pU(n,a))}}),delete t["!links"]}function MU(e,t,r,n){if(t["!comments"].length>0){var a=Je(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Ve.VML);he(e,551,Dv("rId"+a)),t["!legacy"]=a}}function kU(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:Gt(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var l=r.Workbook.Names,s=gn(i);s.s.r==s.e.r&&(s.e.r=gn(t["!ref"]).e.r,i=Gt(s));for(var o=0;o<l.length;++o){var u=l[o];if(u.Name=="_xlnm._FilterDatabase"&&u.Sheet==n){u.Ref="'"+r.SheetNames[n]+"'!"+i;break}}o==l.length&&l.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),he(e,161,Qs(gt(i))),he(e,162)}}function LU(e,t,r){he(e,133),he(e,137,wU(t,r)),he(e,138),he(e,134)}function BU(e,t){t["!protect"]&&he(e,535,bU(t["!protect"]))}function PU(e,t,r,n){var a=Gr(),i=r.SheetNames[e],l=r.Sheets[i]||{},s=i;try{r&&r.Workbook&&(s=r.Workbook.Sheets[e].CodeName||s)}catch{}var o=gt(l["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(l["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return l["!links"]=[],l["!comments"]=[],he(a,129),(r.vbaraw||l["!outline"])&&he(a,147,Rz(s,l["!outline"])),he(a,148,Az(o)),LU(a,l,r.Workbook),RU(a,l),OU(a,l,e,t),BU(a,l),kU(a,l,r,e),CU(a,l),NU(a,l,n),l["!margins"]&&he(a,476,_U(l["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&DU(a,l),MU(a,l,e,n),he(a,130),a.end()}function zU(e,t){e.l+=10;var r=Fr(e);return{name:r}}var UU=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function jU(e){return!e.Workbook||!e.Workbook.WBProps?"false":gk(e.Workbook.WBProps.date1904)?"true":"false"}var IU="][*?/\\".split("");function B5(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return IU.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function HU(e,t,r){e.forEach(function(n,a){B5(n);for(var i=0;i<a;++i)if(n==e[i])throw new Error("Duplicate Sheet Name: "+n);if(r){var l=t&&t[a]&&t[a].CodeName||n;if(l.charCodeAt(0)==95&&l.length>22)throw new Error("Bad Code Name: Worksheet"+l)}})}function VU(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];HU(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)fz(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function P5(e){var t=[Xt];t[t.length]=xe("workbook",null,{xmlns:Zs[0],"xmlns:r":ar.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(UU.forEach(function(s){e.Workbook.WBProps[s[0]]!=null&&e.Workbook.WBProps[s[0]]!=s[1]&&(n[s[0]]=e.Workbook.WBProps[s[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=xe("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var l={name:tt(e.SheetNames[i].slice(0,31))};if(l.sheetId=""+(i+1),l["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:l.state="hidden";break;case 2:l.state="veryHidden";break}t[t.length]=xe("sheet",null,l)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(s){var o={name:s.Name};s.Comment&&(o.comment=s.Comment),s.Sheet!=null&&(o.localSheetId=""+s.Sheet),s.Hidden&&(o.hidden="1"),s.Ref&&(t[t.length]=xe("definedName",tt(s.Ref),o))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function GU(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Mp(e),r.name=Fr(e),r}function $U(e,t){return t||(t=ie(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),Dv(e.strRelID,t),lr(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function XU(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?Fr(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function YU(e,t){t||(t=ie(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Kb(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function qU(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=jk(e),l=iz(e,0,r),s=Rv(e);e.l=n;var o={Name:i,Ptg:l};return a<268435455&&(o.Sheet=a),s&&(o.Comment=s),o}function KU(e,t){he(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};he(e,156,$U(a))}he(e,144)}function ZU(e,t){t||(t=ie(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return lr("SheetJS",t),lr(Kf.version,t),lr(Kf.version,t),lr("7262",t),t.length>t.l?t.slice(0,t.l):t}function WU(e,t){t||(t=ie(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function QU(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,a=-1,i=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&a==-1?a=n:r[n].Hidden==1&&i==-1&&(i=n);i>a||(he(e,135),he(e,158,WU(a)),he(e,136))}}function JU(e,t){var r=Gr();return he(r,131),he(r,128,ZU()),he(r,153,YU(e.Workbook&&e.Workbook.WBProps||null)),QU(r,e),KU(r,e),he(r,132),r.end()}function ej(e,t,r){return(t.slice(-4)===".bin"?JU:P5)(e)}function tj(e,t,r,n,a){return(t.slice(-4)===".bin"?PU:k5)(e,r,n,a)}function rj(e,t,r){return(t.slice(-4)===".bin"?_B:y5)(e,r)}function nj(e,t,r){return(t.slice(-4)===".bin"?YL:m5)(e,r)}function aj(e,t,r){return(t.slice(-4)===".bin"?BB:b5)(e)}function ij(e){return(e.slice(-4)===".bin"?OB:w5)()}function lj(e,t){var r=[];return e.Props&&r.push(rL(e.Props,t)),e.Custprops&&r.push(nL(e.Props,e.Custprops)),r.join("")}function sj(){return""}function oj(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(n,a){var i=[];i.push(xe("NumberFormat",null,{"ss:Format":tt(Ot[n.numFmtId])}));var l={"ss:ID":"s"+(21+a)};r.push(xe("Style",i.join(""),l))}),xe("Styles",r.join(""))}function z5(e){return xe("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Lv(e.Ref,{r:0,c:0})})}function uj(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];a.Sheet==null&&(a.Name.match(/^_xlfn\./)||r.push(z5(a)))}return xe("Names",r.join(""))}function cj(e,t,r,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,i=[],l=0;l<a.length;++l){var s=a[l];s.Sheet==r&&(s.Name.match(/^_xlfn\./)||i.push(z5(s)))}return i.join("")}function fj(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(xe("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(xe("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(xe("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(xe("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<r&&!(n.Workbook.Sheets[i]&&!n.Workbook.Sheets[i].Hidden);++i);i==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(xr("ProtectContents","True")),e["!protect"].objects&&a.push(xr("ProtectObjects","True")),e["!protect"].scenarios&&a.push(xr("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(xr("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(xr("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(l){e["!protect"][l[0]]&&a.push("<"+l[1]+"/>")})),a.length==0?"":xe("WorksheetOptions",a.join(""),{xmlns:en.x})}function hj(e){return e.map(function(t){var r=vk(t.t||""),n=xe("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return xe("Comment",n,{"ss:Author":t.a})}).join("")}function dj(e,t,r,n,a,i,l){if(!e||e.v==null&&e.f==null)return"";var s={};if(e.f&&(s["ss:Formula"]="="+tt(Lv(e.f,l))),e.F&&e.F.slice(0,t.length)==t){var o=ir(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(o.r==l.r?"":"["+(o.r-l.r)+"]")+"C"+(o.c==l.c?"":"["+(o.c-l.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=tt(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=tt(e.l.Tooltip))),r["!merges"])for(var u=r["!merges"],c=0;c!=u.length;++c)u[c].s.c!=l.c||u[c].s.r!=l.r||(u[c].e.c>u[c].s.c&&(s["ss:MergeAcross"]=u[c].e.c-u[c].s.c),u[c].e.r>u[c].s.r&&(s["ss:MergeDown"]=u[c].e.r-u[c].s.r));var f="",h="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=qu[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Ot[14]);break;case"s":f="String",h=mk(e.v||"");break}var d=Ui(n.cellXfs,e,n);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=l.c+1;var p=e.v!=null?h:"",m=e.t=="z"?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(m+=hj(e.c)),xe("Cell",m,s)}function pj(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=x5(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function mj(e,t,r,n){if(!e["!ref"])return"";var a=gt(e["!ref"]),i=e["!merges"]||[],l=0,s=[];e["!cols"]&&e["!cols"].forEach(function(y,v){Mv(y);var g=!!y.width,x=nh(v,y),_={"ss:Index":v+1};g&&(_["ss:Width"]=i0(x.width)),y.hidden&&(_["ss:Hidden"]="1"),s.push(xe("Column",null,_))});for(var o=Array.isArray(e),u=a.s.r;u<=a.e.r;++u){for(var c=[pj(u,(e["!rows"]||[])[u])],f=a.s.c;f<=a.e.c;++f){var h=!1;for(l=0;l!=i.length;++l)if(!(i[l].s.c>f)&&!(i[l].s.r>u)&&!(i[l].e.c<f)&&!(i[l].e.r<u)){(i[l].s.c!=f||i[l].s.r!=u)&&(h=!0);break}if(!h){var d={r:u,c:f},p=rt(d),m=o?(e[u]||[])[f]:e[p];c.push(dj(m,p,e,t,r,n,d))}}c.push("</Row>"),c.length>2&&s.push(c.join(""))}return s.join("")}function vj(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],l=i?cj(i,t,e,r):"";return l.length>0&&n.push("<Names>"+l+"</Names>"),l=i?mj(i,t,e,r):"",l.length>0&&n.push("<Table>"+l+"</Table>"),n.push(fj(i,t,e,r)),n.join("")}function gj(e,t){t||(t={}),e.SSF||(e.SSF=Yr(Ot)),e.SSF&&(Q0(),W0(e.SSF),t.revssf=J0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Ui(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(lj(e,t)),r.push(sj()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(xe("Worksheet",vj(n,t,e),{"ss:Name":tt(e.SheetNames[n])}));return r[2]=oj(e,t),r[3]=uj(e),Xt+xe("Workbook",r.join(""),{xmlns:en.ss,"xmlns:o":en.o,"xmlns:x":en.x,"xmlns:ss":en.ss,"xmlns:dt":en.dt,"xmlns:html":en.html})}var cd={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function xj(e,t){var r=[],n=[],a=[],i=0,l,s=B_(K_,"n"),o=B_(Z_,"n");if(e.Props)for(l=wr(e.Props),i=0;i<l.length;++i)(Object.prototype.hasOwnProperty.call(s,l[i])?r:Object.prototype.hasOwnProperty.call(o,l[i])?n:a).push([l[i],e.Props[l[i]]]);if(e.Custprops)for(l=wr(e.Custprops),i=0;i<l.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},l[i])||(Object.prototype.hasOwnProperty.call(s,l[i])?r:Object.prototype.hasOwnProperty.call(o,l[i])?n:a).push([l[i],e.Custprops[l[i]]]);var u=[];for(i=0;i<a.length;++i)o5.indexOf(a[i][0])>-1||i5.indexOf(a[i][0])>-1||a[i][1]!=null&&u.push(a[i]);n.length&&lt.utils.cfb_add(t,"/SummaryInformation",tE(n,cd.SI,o,Z_)),(r.length||u.length)&&lt.utils.cfb_add(t,"/DocumentSummaryInformation",tE(r,cd.DSI,s,K_,u.length?u:null,cd.UDI))}function yj(e,t){var r=t||{},n=lt.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return lt.utils.cfb_add(n,a,U5(e,r)),r.biff==8&&(e.Props||e.Custprops)&&xj(e,n),r.biff==8&&e.vbaraw&&PB(n,lt.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var _j={0:{f:Sz},1:{f:Dz},2:{f:Wz},3:{f:Uz},4:{f:Lz},5:{f:Yz},6:{f:rU},7:{f:Vz},8:{f:uU},9:{f:oU},10:{f:lU},11:{f:sU},12:{f:Mz},13:{f:Jz},14:{f:Iz},15:{f:Pz},16:{f:Kz},17:{f:aU},18:{f:$z},19:{f:Cv},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:qU},40:{},42:{},43:{f:rB},44:{f:eB},45:{f:iB},46:{f:sB},47:{f:lB},48:{},49:{f:Mk},50:{},51:{f:SB},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:kL},62:{f:tU},63:{f:CB},64:{f:TU},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:sa,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:EU},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Cz},148:{f:Fz,p:16},151:{f:mU},152:{},153:{f:XU},154:{},155:{},156:{f:GU},157:{},158:{},159:{T:1,f:GL},160:{T:-1},161:{T:1,f:Nl},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:cU},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:EB},336:{T:-1},337:{f:FB,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Mp},357:{},358:{},359:{},360:{T:1},361:{},362:{f:OL},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:vU},427:{f:gU},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:yU},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Oz},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:dU},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Mp},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:kB},633:{T:1},634:{T:-1},635:{T:1,f:NB},636:{T:-1},637:{f:Pk},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:zU},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:FU},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function ye(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,l=e.next(4);l.write_shift(2,a),l.write_shift(2,i),i>0&&Fv(r)&&e.push(r)}}function Ej(e,t,r,n){var a=(r||[]).length||0;if(a<=8224)return ye(e,t,r,a);var i=t;if(!isNaN(i)){for(var l=r.parts||[],s=0,o=0,u=0;u+(l[s]||8224)<=8224;)u+=l[s]||8224,s++;var c=e.next(4);for(c.write_shift(2,i),c.write_shift(2,u),e.push(r.slice(o,o+u)),o+=u;o<a;){for(c=e.next(4),c.write_shift(2,60),u=0;u+(l[s]||8224)<=8224;)u+=l[s]||8224,s++;c.write_shift(2,u),e.push(r.slice(o,o+u)),o+=u}}}function Zu(e,t,r){return e||(e=ie(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function wj(e,t,r,n){var a=ie(9);return Zu(a,e,t),c5(r,n||"b",a),a}function Sj(e,t,r){var n=ie(8+2*r.length);return Zu(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function bj(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var a=t.t=="d"?Xr(Mr(t.v)):t.v;a==(a|0)&&a>=0&&a<65536?ye(e,2,zL(r,n,a)):ye(e,3,PL(r,n,a));return;case"b":case"e":ye(e,5,wj(r,n,t.v,t.t));return;case"s":case"str":ye(e,4,Sj(r,n,(t.v||"").slice(0,255)));return}ye(e,1,Zu(null,r,n))}function Tj(e,t,r,n){var a=Array.isArray(t),i=gt(t["!ref"]||"A1"),l,s="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),l=Gt(i)}for(var u=i.s.r;u<=i.e.r;++u){s=Er(u);for(var c=i.s.c;c<=i.e.c;++c){u===i.s.r&&(o[c]=Tr(c)),l=o[c]+s;var f=a?(t[u]||[])[c]:t[l];f&&bj(e,f,u,c)}}}function Fj(e,t){for(var r=t||{},n=Gr(),a=0,i=0;i<e.SheetNames.length;++i)e.SheetNames[i]==r.sheet&&(a=i);if(a==0&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return ye(n,r.biff==4?1033:r.biff==3?521:9,Nv(e,16,r)),Tj(n,e.Sheets[e.SheetNames[a]],a,r),ye(n,10),n.end()}function Aj(e,t,r){ye(e,49,_L({sz:12,name:"Arial"},r))}function Oj(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&ye(e,1054,SL(a,t[a],r))})}function Cj(e,t){var r=ie(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),ye(e,2151,r),r=ie(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),d5(gt(t["!ref"]||"A1"),r),r.write_shift(4,4),ye(e,2152,r)}function Rj(e,t){for(var r=0;r<16;++r)ye(e,224,nE({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){ye(e,224,nE(n,0,t))})}function Dj(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];ye(e,440,DL(n)),n[1].Tooltip&&ye(e,2048,NL(n))}delete t["!links"]}function Nj(e,t){if(t){var r=0;t.forEach(function(n,a){++r<=256&&n&&ye(e,125,LL(nh(a,n),a))})}}function Mj(e,t,r,n,a){var i=16+Ui(a.cellXfs,t,a);if(t.v==null&&!t.bf){ye(e,513,yl(r,n,i));return}if(t.bf)ye(e,6,nz(t,r,n,a,i));else switch(t.t){case"d":case"n":var l=t.t=="d"?Xr(Mr(t.v)):t.v;ye(e,515,AL(r,n,l,i));break;case"b":case"e":ye(e,517,FL(r,n,t.v,i,a,t.t));break;case"s":case"str":if(a.bookSST){var s=Pv(a.Strings,t.v,a.revStrings);ye(e,253,EL(r,n,s,i))}else ye(e,516,wL(r,n,(t.v||"").slice(0,255),i,a));break;default:ye(e,513,yl(r,n,i))}}function kj(e,t,r){var n=Gr(),a=r.SheetNames[e],i=r.Sheets[a]||{},l=(r||{}).Workbook||{},s=(l.Sheets||[])[e]||{},o=Array.isArray(i),u=t.biff==8,c,f="",h=[],d=gt(i["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}ye(n,2057,Nv(r,16,t)),ye(n,13,En(1)),ye(n,12,En(100)),ye(n,15,Rr(!0)),ye(n,17,Rr(!1)),ye(n,16,xl(.001)),ye(n,95,Rr(!0)),ye(n,42,Rr(!1)),ye(n,43,Rr(!1)),ye(n,130,En(1)),ye(n,128,TL()),ye(n,131,Rr(!1)),ye(n,132,Rr(!1)),u&&Nj(n,i["!cols"]),ye(n,512,bL(d,t)),u&&(i["!links"]=[]);for(var m=d.s.r;m<=d.e.r;++m){f=Er(m);for(var y=d.s.c;y<=d.e.c;++y){m===d.s.r&&(h[y]=Tr(y)),c=h[y]+f;var v=o?(i[m]||[])[y]:i[c];v&&(Mj(n,v,m,y,t),u&&v.l&&i["!links"].push([c,v.l]))}}var g=s.CodeName||s.name||a;return u&&ye(n,574,yL((l.Views||[])[0])),u&&(i["!merges"]||[]).length&&ye(n,229,RL(i["!merges"])),u&&Dj(n,i),ye(n,442,h5(g)),u&&Cj(n,i),ye(n,10),n.end()}function Lj(e,t,r){var n=Gr(),a=(e||{}).Workbook||{},i=a.Sheets||[],l=a.WBProps||{},s=r.biff==8,o=r.biff==5;if(ye(n,2057,Nv(e,5,r)),r.bookType=="xla"&&ye(n,135),ye(n,225,s?En(1200):null),ye(n,193,lL(2)),o&&ye(n,191),o&&ye(n,192),ye(n,226),ye(n,92,mL("SheetJS",r)),ye(n,66,En(s?1200:1252)),s&&ye(n,353,En(0)),s&&ye(n,448),ye(n,317,BL(e.SheetNames.length)),s&&e.vbaraw&&ye(n,211),s&&e.vbaraw){var u=l.CodeName||"ThisWorkbook";ye(n,442,h5(u))}ye(n,156,En(17)),ye(n,25,Rr(!1)),ye(n,18,Rr(!1)),ye(n,19,En(0)),s&&ye(n,431,Rr(!1)),s&&ye(n,444,En(0)),ye(n,61,xL()),ye(n,64,Rr(!1)),ye(n,141,En(0)),ye(n,34,Rr(jU(e)=="true")),ye(n,14,Rr(!0)),s&&ye(n,439,Rr(!1)),ye(n,218,En(0)),Aj(n,e,r),Oj(n,e.SSF,r),Rj(n,r),s&&ye(n,352,Rr(!1));var c=n.end(),f=Gr();s&&ye(f,140,ML()),s&&r.Strings&&Ej(f,252,gL(r.Strings)),ye(f,10);var h=f.end(),d=Gr(),p=0,m=0;for(m=0;m<e.SheetNames.length;++m)p+=(s?12:11)+(s?2:1)*e.SheetNames[m].length;var y=c.length+p+h.length;for(m=0;m<e.SheetNames.length;++m){var v=i[m]||{};ye(d,133,vL({pos:y,hs:v.Hidden||0,dt:0,name:e.SheetNames[m]},r)),y+=t[m].length}var g=d.end();if(p!=g.length)throw new Error("BS8 "+p+" != "+g.length);var x=[];return c.length&&x.push(c),g.length&&x.push(g),h.length&&x.push(h),gr(x)}function Bj(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=Yr(Ot)),e&&e.SSF&&(Q0(),W0(e.SSF),r.revssf=J0(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,zv(r),r.cellXfs=[],Ui(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=kj(a,r,e);return n.unshift(Lj(e,n,r)),gr(n)}function U5(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var a=gn(n["!ref"]);a.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255).  Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return Bj(e,t);case 4:case 3:case 2:return Fj(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function Pj(e,t,r,n){for(var a=e["!merges"]||[],i=[],l=t.s.c;l<=t.e.c;++l){for(var s=0,o=0,u=0;u<a.length;++u)if(!(a[u].s.r>r||a[u].s.c>l)&&!(a[u].e.r<r||a[u].e.c<l)){if(a[u].s.r<r||a[u].s.c<l){s=-1;break}s=a[u].e.r-a[u].s.r+1,o=a[u].e.c-a[u].s.c+1;break}if(!(s<0)){var c=rt({r,c:l}),f=n.dense?(e[r]||[])[l]:e[c],h=f&&f.v!=null&&(f.h||pk(f.w||(Ga(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),o>1&&(d.colspan=o),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",f.v!=null&&(d["data-v"]=f.v),f.z!=null&&(d["data-z"]=f.z),f.l&&(f.l.Target||"#").charAt(0)!="#"&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+c,i.push(xe("td",h,d))}}var p="<tr>";return p+i.join("")+"</tr>"}var zj='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Uj="</body></html>";function jj(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function j5(e,t){var r=t||{},n=r.header!=null?r.header:zj,a=r.footer!=null?r.footer:Uj,i=[n],l=gn(e["!ref"]);r.dense=Array.isArray(e),i.push(jj(e,l,r));for(var s=l.s.r;s<=l.e.r;++s)i.push(Pj(e,l,s,r));return i.push("</table>"+a),i.join("")}function I5(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var l=typeof n.origin=="string"?ir(n.origin):n.origin;a=l.r,i=l.c}var s=t.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,s.length),u={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=gn(e["!ref"]);u.s.r=Math.min(u.s.r,c.s.r),u.s.c=Math.min(u.s.c,c.s.c),u.e.r=Math.max(u.e.r,c.e.r),u.e.c=Math.max(u.e.c,c.e.c),a==-1&&(u.e.r=a=c.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,y=0,v=0,g=0,x=0;for(e["!cols"]||(e["!cols"]=[]);p<s.length&&m<o;++p){var _=s[p];if(cE(_)){if(n.display)continue;d[m]={hidden:!0}}var w=_.children;for(y=v=0;y<w.length;++y){var T=w[y];if(!(n.display&&cE(T))){var E=T.hasAttribute("data-v")?T.getAttribute("data-v"):T.hasAttribute("v")?T.getAttribute("v"):xk(T.innerHTML),O=T.getAttribute("data-z")||T.getAttribute("z");for(h=0;h<f.length;++h){var F=f[h];F.s.c==v+i&&F.s.r<m+a&&m+a<=F.e.r&&(v=F.e.c+1-i,h=-1)}x=+T.getAttribute("colspan")||1,((g=+T.getAttribute("rowspan")||1)>1||x>1)&&f.push({s:{r:m+a,c:v+i},e:{r:m+a+(g||1)-1,c:v+i+(x||1)-1}});var R={t:"s",v:E},z=T.getAttribute("data-t")||T.getAttribute("t")||"";E!=null&&(E.length==0?R.t=z||"z":n.raw||E.trim().length==0||z=="s"||(E==="TRUE"?R={t:"b",v:!0}:E==="FALSE"?R={t:"b",v:!1}:isNaN(ka(E))?isNaN(Su(E).getDate())||(R={t:"d",v:Mr(E)},n.cellDates||(R={t:"n",v:Xr(R.v)}),R.z=n.dateNF||Ot[14]):R={t:"n",v:ka(E)})),R.z===void 0&&O!=null&&(R.z=O);var j="",G=T.getElementsByTagName("A");if(G&&G.length)for(var ce=0;ce<G.length&&!(G[ce].hasAttribute("href")&&(j=G[ce].getAttribute("href"),j.charAt(0)!="#"));++ce);j&&j.charAt(0)!="#"&&(R.l={Target:j}),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][v+i]=R):e[rt({c:v+i,r:m+a})]=R,u.e.c<v+i&&(u.e.c=v+i),v+=x}}++m}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),u.e.r=Math.max(u.e.r,m-1+a),e["!ref"]=Gt(u),m>=o&&(e["!fullref"]=Gt((u.e.r=s.length-p+m-1+a,u))),e}function H5(e,t){var r=t||{},n=r.dense?[]:{};return I5(n,e,t)}function Ij(e,t){return Ol(H5(e,t),t)}function cE(e){var t="",r=Hj(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function Hj(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var Vj=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+Tu({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Xt+t}}(),fE=function(){var e=function(i){return tt(i).replace(/  +/g,function(l){return'<text:s text:c="'+l.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=`          <table:table-cell />
`,r=`          <table:covered-table-cell/>
`,n=function(i,l,s){var o=[];o.push('      <table:table table:name="'+tt(l.SheetNames[s])+`" table:style-name="ta1">
`);var u=0,c=0,f=gn(i["!ref"]||"A1"),h=i["!merges"]||[],d=0,p=Array.isArray(i);if(i["!cols"])for(c=0;c<=f.e.c;++c)o.push("        <table:table-column"+(i["!cols"][c]?' table:style-name="co'+i["!cols"][c].ods+'"':"")+`></table:table-column>
`);var m="",y=i["!rows"]||[];for(u=0;u<f.s.r;++u)m=y[u]?' table:style-name="ro'+y[u].ods+'"':"",o.push("        <table:table-row"+m+`></table:table-row>
`);for(;u<=f.e.r;++u){for(m=y[u]?' table:style-name="ro'+y[u].ods+'"':"",o.push("        <table:table-row"+m+`>
`),c=0;c<f.s.c;++c)o.push(t);for(;c<=f.e.c;++c){var v=!1,g={},x="";for(d=0;d!=h.length;++d)if(!(h[d].s.c>c)&&!(h[d].s.r>u)&&!(h[d].e.c<c)&&!(h[d].e.r<u)){(h[d].s.c!=c||h[d].s.r!=u)&&(v=!0),g["table:number-columns-spanned"]=h[d].e.c-h[d].s.c+1,g["table:number-rows-spanned"]=h[d].e.r-h[d].s.r+1;break}if(v){o.push(r);continue}var _=rt({r:u,c}),w=p?(i[u]||[])[c]:i[_];if(w&&w.f&&(g["table:formula"]=tt(uz(w.f)),w.F&&w.F.slice(0,_.length)==_)){var T=gn(w.F);g["table:number-matrix-columns-spanned"]=T.e.c-T.s.c+1,g["table:number-matrix-rows-spanned"]=T.e.r-T.s.r+1}if(!w){o.push(t);continue}switch(w.t){case"b":x=w.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=w.v?"true":"false";break;case"n":x=w.w||String(w.v||0),g["office:value-type"]="float",g["office:value"]=w.v||0;break;case"s":case"str":x=w.v==null?"":w.v,g["office:value-type"]="string";break;case"d":x=w.w||Mr(w.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=Mr(w.v).toISOString(),g["table:style-name"]="ce1";break;default:o.push(t);continue}var E=e(x);if(w.l&&w.l.Target){var O=w.l.Target;O=O.charAt(0)=="#"?"#"+cz(O.slice(1)):O,O.charAt(0)!="#"&&!O.match(/^\w+:/)&&(O="../"+O),E=xe("text:a",E,{"xlink:href":O.replace(/&/g,"&amp;")})}o.push("          "+xe("table:table-cell",xe("text:p",E,{}),g)+`
`)}o.push(`        </table:table-row>
`)}return o.push(`      </table:table>
`),o.join("")},a=function(i,l){i.push(` <office:automatic-styles>
`),i.push(`  <number:date-style style:name="N37" number:automatic-order="true">
`),i.push(`   <number:month number:style="long"/>
`),i.push(`   <number:text>/</number:text>
`),i.push(`   <number:day number:style="long"/>
`),i.push(`   <number:text>/</number:text>
`),i.push(`   <number:year/>
`),i.push(`  </number:date-style>
`);var s=0;l.SheetNames.map(function(u){return l.Sheets[u]}).forEach(function(u){if(u&&u["!cols"]){for(var c=0;c<u["!cols"].length;++c)if(u["!cols"][c]){var f=u["!cols"][c];if(f.width==null&&f.wpx==null&&f.wch==null)continue;Mv(f),f.ods=s;var h=u["!cols"][c].wpx+"px";i.push('  <style:style style:name="co'+s+`" style:family="table-column">
`),i.push('   <style:table-column-properties fo:break-before="auto" style:column-width="'+h+`"/>
`),i.push(`  </style:style>
`),++s}}});var o=0;l.SheetNames.map(function(u){return l.Sheets[u]}).forEach(function(u){if(u&&u["!rows"]){for(var c=0;c<u["!rows"].length;++c)if(u["!rows"][c]){u["!rows"][c].ods=o;var f=u["!rows"][c].hpx+"px";i.push('  <style:style style:name="ro'+o+`" style:family="table-row">
`),i.push('   <style:table-row-properties fo:break-before="auto" style:row-height="'+f+`"/>
`),i.push(`  </style:style>
`),++o}}}),i.push(`  <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
`),i.push(`   <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
`),i.push(`  </style:style>
`),i.push(`  <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
`),i.push(` </office:automatic-styles>
`)};return function(l,s){var o=[Xt],u=Tu({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),c=Tu({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});s.bookType=="fods"?(o.push("<office:document"+u+c+`>
`),o.push(n5().replace(/office:document-meta/g,"office:meta"))):o.push("<office:document-content"+u+`>
`),a(o,l),o.push(`  <office:body>
`),o.push(`    <office:spreadsheet>
`);for(var f=0;f!=l.SheetNames.length;++f)o.push(n(l.Sheets[l.SheetNames[f]],l,f));return o.push(`    </office:spreadsheet>
`),o.push(`  </office:body>
`),s.bookType=="fods"?o.push("</office:document>"):o.push("</office:document-content>"),o.join("")}}();function V5(e,t){if(t.bookType=="fods")return fE(e,t);var r=wv(),n="",a=[],i=[];return n="mimetype",Be(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Be(r,n,fE(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",Be(r,n,Vj(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",Be(r,n,Xt+n5()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",Be(r,n,tL(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Be(r,n,Jk(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function o0(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Gj(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):$n(bu(e))}function $j(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function Mi(e){var t=e.reduce(function(a,i){return a+i.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(a){r.set(a,n),n+=a.length}),r}function Xj(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=a&255;e[t+15]|=r>=0?0:128}function Fu(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function We(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function Ts(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Kt(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],a=Fu(e,r),i=a&7;a=Math.floor(a/8);var l=0,s;if(a==0)break;switch(i){case 0:{for(var o=r[0];e[r[0]++]>=128;);s=e.slice(o,r[0])}break;case 5:l=4,s=e.slice(r[0],r[0]+l),r[0]+=l;break;case 1:l=8,s=e.slice(r[0],r[0]+l),r[0]+=l;break;case 2:l=Fu(e,r),s=e.slice(r[0],r[0]+l),r[0]+=l;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(a," at offset ").concat(n))}var u={data:s,type:i};t[a]==null?t[a]=[u]:t[a].push(u)}return t}function fr(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){a.data&&(t.push(We(n*8+a.type)),a.type==2&&t.push(We(a.data.length)),t.push(a.data))})}),Mi(t)}function zn(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=Fu(e,n),i=Kt(e.slice(n[0],n[0]+a));n[0]+=a;var l={id:Ts(i[1][0].data),messages:[]};i[2].forEach(function(s){var o=Kt(s.data),u=Ts(o[3][0].data);l.messages.push({meta:o,data:e.slice(n[0],n[0]+u)}),n[0]+=u}),(t=i[3])!=null&&t[0]&&(l.merge=Ts(i[3][0].data)>>>0>0),r.push(l)}return r}function Gl(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:We(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:We(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(l){a.push(l.data),l.meta[3]=[{type:0,data:We(l.data.length)}],n[2].push({data:fr(l.meta),type:2})});var i=fr(n);t.push(We(i.length)),t.push(i),a.forEach(function(l){return t.push(l)})}),Mi(t)}function Yj(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Fu(t,r),a=[];r[0]<t.length;){var i=t[r[0]]&3;if(i==0){var l=t[r[0]++]>>2;if(l<60)++l;else{var s=l-59;l=t[r[0]],s>1&&(l|=t[r[0]+1]<<8),s>2&&(l|=t[r[0]+2]<<16),s>3&&(l|=t[r[0]+3]<<24),l>>>=0,l++,r[0]+=s}a.push(t.slice(r[0],r[0]+l)),r[0]+=l;continue}else{var o=0,u=0;if(i==1?(u=(t[r[0]]>>2&7)+4,o=(t[r[0]++]&224)<<3,o|=t[r[0]++]):(u=(t[r[0]++]>>2)+1,i==2?(o=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(o=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Mi(a)],o==0)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(u>=o)for(a.push(a[0].slice(-o)),u-=o;u>=a[a.length-1].length;)a.push(a[a.length-1]),u-=a[a.length-1].length;a.push(a[0].slice(-o,-o+u))}}var c=Mi(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function Un(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(Yj(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Mi(t)}function $l(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var i=We(n),l=i.length;t.push(i),n<=60?(l++,t.push(new Uint8Array([n-1<<2]))):n<=256?(l+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(l+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(l+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(l+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),l+=n,a[0]=0,a[1]=l&255,a[2]=l>>8&255,a[3]=l>>16&255,r+=n}return Mi(t)}function fd(e,t){var r=new Uint8Array(32),n=o0(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,Xj(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function hd(e,t){var r=new Uint8Array(32),n=o0(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function Wa(e){var t=Kt(e);return Fu(t[1][0].data)}function qj(e,t,r){var n,a,i,l;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var s=((l=(i=e[8])==null?void 0:i[0])==null?void 0:l.data)&&Ts(e[8][0].data)>0||!1;if(s)throw"Math only works with normal offsets";for(var o=0,u=o0(e[7][0].data),c=0,f=[],h=o0(e[4][0].data),d=0,p=[],m=0;m<t.length;++m){if(t[m]==null){u.setUint16(m*2,65535,!0),h.setUint16(m*2,65535);continue}u.setUint16(m*2,c,!0),h.setUint16(m*2,d,!0);var y,v;switch(typeof t[m]){case"string":y=fd({t:"s",v:t[m]},r),v=hd({t:"s",v:t[m]},r);break;case"number":y=fd({t:"n",v:t[m]},r),v=hd({t:"n",v:t[m]},r);break;case"boolean":y=fd({t:"b",v:t[m]},r),v=hd({t:"b",v:t[m]},r);break;default:throw new Error("Unsupported value "+t[m])}f.push(y),c+=y.length,p.push(v),d+=v.length,++o}for(e[2][0].data=We(o);m<e[7][0].data.length/2;++m)u.setUint16(m*2,65535,!0),h.setUint16(m*2,65535,!0);return e[6][0].data=Mi(f),e[3][0].data=Mi(p),o}function Kj(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=gn(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(Gt(n)));var i=u0(r,{range:n,header:1}),l=["~Sh33tJ5~"];i.forEach(function(H){return H.forEach(function(I){typeof I=="string"&&l.push(I)})});var s={},o=[],u=lt.read(t.numbers,{type:"base64"});u.FileIndex.map(function(H,I){return[H,u.FullPaths[I]]}).forEach(function(H){var I=H[0],V=H[1];if(I.type==2&&I.name.match(/\.iwa/)){var re=I.content,ve=Un(re),Q=zn(ve);Q.forEach(function(W){o.push(W.id),s[W.id]={deps:[],location:V,type:Ts(W.messages[0].meta[1][0].data)}})}}),o.sort(function(H,I){return H-I});var c=o.filter(function(H){return H>1}).map(function(H){return[H,We(H)]});u.FileIndex.map(function(H,I){return[H,u.FullPaths[I]]}).forEach(function(H){var I=H[0];if(H[1],!!I.name.match(/\.iwa/)){var V=zn(Un(I.content));V.forEach(function(re){re.messages.forEach(function(ve){c.forEach(function(Q){re.messages.some(function(W){return Ts(W.meta[1][0].data)!=11006&&$j(W.data,Q[1])})&&s[Q[0]].deps.push(re.id)})})})}});for(var f=lt.find(u,s[1].location),h=zn(Un(f.content)),d,p=0;p<h.length;++p){var m=h[p];m.id==1&&(d=m)}var y=Wa(Kt(d.messages[0].data)[1][0].data);for(f=lt.find(u,s[y].location),h=zn(Un(f.content)),p=0;p<h.length;++p)m=h[p],m.id==y&&(d=m);for(y=Wa(Kt(d.messages[0].data)[2][0].data),f=lt.find(u,s[y].location),h=zn(Un(f.content)),p=0;p<h.length;++p)m=h[p],m.id==y&&(d=m);for(y=Wa(Kt(d.messages[0].data)[2][0].data),f=lt.find(u,s[y].location),h=zn(Un(f.content)),p=0;p<h.length;++p)m=h[p],m.id==y&&(d=m);var v=Kt(d.messages[0].data);{v[6][0].data=We(n.e.r+1),v[7][0].data=We(n.e.c+1);var g=Wa(v[46][0].data),x=lt.find(u,s[g].location),_=zn(Un(x.content));{for(var w=0;w<_.length&&_[w].id!=g;++w);if(_[w].id!=g)throw"Bad ColumnRowUIDMapArchive";var T=Kt(_[w].messages[0].data);T[1]=[],T[2]=[],T[3]=[];for(var E=0;E<=n.e.c;++E){var O=[];O[1]=O[2]=[{type:0,data:We(E+420690)}],T[1].push({type:2,data:fr(O)}),T[2].push({type:0,data:We(E)}),T[3].push({type:0,data:We(E)})}T[4]=[],T[5]=[],T[6]=[];for(var F=0;F<=n.e.r;++F)O=[],O[1]=O[2]=[{type:0,data:We(F+726270)}],T[4].push({type:2,data:fr(O)}),T[5].push({type:0,data:We(F)}),T[6].push({type:0,data:We(F)});_[w].messages[0].data=fr(T)}x.content=$l(Gl(_)),x.size=x.content.length,delete v[46];var R=Kt(v[4][0].data);{R[7][0].data=We(n.e.r+1);var z=Kt(R[1][0].data),j=Wa(z[2][0].data);x=lt.find(u,s[j].location),_=zn(Un(x.content));{if(_[0].id!=j)throw"Bad HeaderStorageBucket";var G=Kt(_[0].messages[0].data);for(F=0;F<i.length;++F){var ce=Kt(G[2][0].data);ce[1][0].data=We(F),ce[4][0].data=We(i[F].length),G[2][F]={type:G[2][0].type,data:fr(ce)}}_[0].messages[0].data=fr(G)}x.content=$l(Gl(_)),x.size=x.content.length;var L=Wa(R[2][0].data);x=lt.find(u,s[L].location),_=zn(Un(x.content));{if(_[0].id!=L)throw"Bad HeaderStorageBucket";for(G=Kt(_[0].messages[0].data),E=0;E<=n.e.c;++E)ce=Kt(G[2][0].data),ce[1][0].data=We(E),ce[4][0].data=We(n.e.r+1),G[2][E]={type:G[2][0].type,data:fr(ce)};_[0].messages[0].data=fr(G)}x.content=$l(Gl(_)),x.size=x.content.length;var U=Wa(R[4][0].data);(function(){for(var H=lt.find(u,s[U].location),I=zn(Un(H.content)),V,re=0;re<I.length;++re){var ve=I[re];ve.id==U&&(V=ve)}var Q=Kt(V.messages[0].data);{Q[3]=[];var W=[];l.forEach(function(Ce,Ge){W[1]=[{type:0,data:We(Ge)}],W[2]=[{type:0,data:We(1)}],W[3]=[{type:2,data:Gj(Ce)}],Q[3].push({type:2,data:fr(W)})})}V.messages[0].data=fr(Q);var q=Gl(I),me=$l(q);H.content=me,H.size=H.content.length})();var ee=Kt(R[3][0].data);{var oe=ee[1][0];delete ee[2];var de=Kt(oe.data);{var fe=Wa(de[2][0].data);(function(){for(var H=lt.find(u,s[fe].location),I=zn(Un(H.content)),V,re=0;re<I.length;++re){var ve=I[re];ve.id==fe&&(V=ve)}var Q=Kt(V.messages[0].data);{delete Q[6],delete ee[7];var W=new Uint8Array(Q[5][0].data);Q[5]=[];for(var q=0,me=0;me<=n.e.r;++me){var Ce=Kt(W);q+=qj(Ce,i[me],l),Ce[1][0].data=We(me),Q[5].push({data:fr(Ce),type:2})}Q[1]=[{type:0,data:We(n.e.c+1)}],Q[2]=[{type:0,data:We(n.e.r+1)}],Q[3]=[{type:0,data:We(q)}],Q[4]=[{type:0,data:We(n.e.r+1)}]}V.messages[0].data=fr(Q);var Ge=Gl(I),Re=$l(Ge);H.content=Re,H.size=H.content.length})()}oe.data=fr(de)}R[3][0].data=fr(ee)}v[4][0].data=fr(R)}d.messages[0].data=fr(v);var Fe=Gl(h),B=$l(Fe);return f.content=B,f.size=f.content.length,u}function Zj(e){return function(r){for(var n=0;n!=e.length;++n){var a=e[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function zv(e){Zj([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function Wj(e,t){return t.bookType=="ods"?V5(e,t):t.bookType=="numbers"?Kj(e,t):t.bookType=="xlsb"?Qj(e,t):Jj(e,t)}function Qj(e,t){hs=1024,e&&!e.SSF&&(e.SSF=Yr(Ot)),e&&e.SSF&&(Q0(),W0(e.SSF),t.revssf=J0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Qo?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=T5.indexOf(t.bookType)>-1,a=e5();zv(t=t||{});var i=wv(),l="",s=0;if(t.cellXfs=[],Ui(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),l="docProps/core.xml",Be(i,l,a5(e.Props,t)),a.coreprops.push(l),Je(t.rels,2,l,Ve.CORE_PROPS),l="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],u=0;u<e.SheetNames.length;++u)(e.Workbook.Sheets[u]||{}).Hidden!=2&&o.push(e.SheetNames[u]);e.Props.SheetNames=o}for(e.Props.Worksheets=e.Props.SheetNames.length,Be(i,l,l5(e.Props)),a.extprops.push(l),Je(t.rels,3,l,Ve.EXT_PROPS),e.Custprops!==e.Props&&wr(e.Custprops||{}).length>0&&(l="docProps/custom.xml",Be(i,l,s5(e.Custprops)),a.custprops.push(l),Je(t.rels,4,l,Ve.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var c={"!id":{}},f=e.Sheets[e.SheetNames[s-1]],h=(f||{})["!type"]||"sheet";switch(h){case"chart":default:l="xl/worksheets/sheet"+s+"."+r,Be(i,l,tj(s-1,l,t,e,c)),a.sheets.push(l),Je(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Ve.WS[0])}if(f){var d=f["!comments"],p=!1,m="";d&&d.length>0&&(m="xl/comments"+s+"."+r,Be(i,m,aj(d,m)),a.comments.push(m),Je(c,-1,"../comments"+s+"."+r,Ve.CMNT),p=!0),f["!legacy"]&&p&&Be(i,"xl/drawings/vmlDrawing"+s+".vml",S5(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}c["!id"].rId1&&Be(i,r5(l),Ss(c))}return t.Strings!=null&&t.Strings.length>0&&(l="xl/sharedStrings."+r,Be(i,l,nj(t.Strings,l,t)),a.strs.push(l),Je(t.wbrels,-1,"sharedStrings."+r,Ve.SST)),l="xl/workbook."+r,Be(i,l,ej(e,l)),a.workbooks.push(l),Je(t.rels,1,l,Ve.WB),l="xl/theme/theme1.xml",Be(i,l,E5(e.Themes,t)),a.themes.push(l),Je(t.wbrels,-1,"theme/theme1.xml",Ve.THEME),l="xl/styles."+r,Be(i,l,rj(e,l,t)),a.styles.push(l),Je(t.wbrels,-1,"styles."+r,Ve.STY),e.vbaraw&&n&&(l="xl/vbaProject.bin",Be(i,l,e.vbaraw),a.vba.push(l),Je(t.wbrels,-1,"vbaProject.bin",Ve.VBA)),l="xl/metadata."+r,Be(i,l,ij(l)),a.metadata.push(l),Je(t.wbrels,-1,"metadata."+r,Ve.XLMETA),Be(i,"[Content_Types].xml",t5(a,t)),Be(i,"_rels/.rels",Ss(t.rels)),Be(i,"xl/_rels/workbook."+r+".rels",Ss(t.wbrels)),delete t.revssf,delete t.ssf,i}function Jj(e,t){hs=1024,e&&!e.SSF&&(e.SSF=Yr(Ot)),e&&e.SSF&&(Q0(),W0(e.SSF),t.revssf=J0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Qo?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=T5.indexOf(t.bookType)>-1,a=e5();zv(t=t||{});var i=wv(),l="",s=0;if(t.cellXfs=[],Ui(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),l="docProps/core.xml",Be(i,l,a5(e.Props,t)),a.coreprops.push(l),Je(t.rels,2,l,Ve.CORE_PROPS),l="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],u=0;u<e.SheetNames.length;++u)(e.Workbook.Sheets[u]||{}).Hidden!=2&&o.push(e.SheetNames[u]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length,Be(i,l,l5(e.Props)),a.extprops.push(l),Je(t.rels,3,l,Ve.EXT_PROPS),e.Custprops!==e.Props&&wr(e.Custprops||{}).length>0&&(l="docProps/custom.xml",Be(i,l,s5(e.Custprops)),a.custprops.push(l),Je(t.rels,4,l,Ve.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},h=e.Sheets[e.SheetNames[s-1]],d=(h||{})["!type"]||"sheet";switch(d){case"chart":default:l="xl/worksheets/sheet"+s+"."+r,Be(i,l,k5(s-1,t,e,f)),a.sheets.push(l),Je(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Ve.WS[0])}if(h){var p=h["!comments"],m=!1,y="";if(p&&p.length>0){var v=!1;p.forEach(function(g){g[1].forEach(function(x){x.T==!0&&(v=!0)})}),v&&(y="xl/threadedComments/threadedComment"+s+"."+r,Be(i,y,RB(p,c,t)),a.threadedcomments.push(y),Je(f,-1,"../threadedComments/threadedComment"+s+"."+r,Ve.TCMNT)),y="xl/comments"+s+"."+r,Be(i,y,b5(p)),a.comments.push(y),Je(f,-1,"../comments"+s+"."+r,Ve.CMNT),m=!0}h["!legacy"]&&m&&Be(i,"xl/drawings/vmlDrawing"+s+".vml",S5(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&Be(i,r5(l),Ss(f))}return t.Strings!=null&&t.Strings.length>0&&(l="xl/sharedStrings."+r,Be(i,l,m5(t.Strings,t)),a.strs.push(l),Je(t.wbrels,-1,"sharedStrings."+r,Ve.SST)),l="xl/workbook."+r,Be(i,l,P5(e)),a.workbooks.push(l),Je(t.rels,1,l,Ve.WB),l="xl/theme/theme1.xml",Be(i,l,E5(e.Themes,t)),a.themes.push(l),Je(t.wbrels,-1,"theme/theme1.xml",Ve.THEME),l="xl/styles."+r,Be(i,l,y5(e,t)),a.styles.push(l),Je(t.wbrels,-1,"styles."+r,Ve.STY),e.vbaraw&&n&&(l="xl/vbaProject.bin",Be(i,l,e.vbaraw),a.vba.push(l),Je(t.wbrels,-1,"vbaProject.bin",Ve.VBA)),l="xl/metadata."+r,Be(i,l,w5()),a.metadata.push(l),Je(t.wbrels,-1,"metadata."+r,Ve.XLMETA),c.length>1&&(l="xl/persons/person.xml",Be(i,l,DB(c)),a.people.push(l),Je(t.wbrels,-1,"persons/person.xml",Ve.PEOPLE)),Be(i,"[Content_Types].xml",t5(a,t)),Be(i,"_rels/.rels",Ss(t.rels)),Be(i,"xl/_rels/workbook."+r+".rels",Ss(t.wbrels)),delete t.revssf,delete t.ssf,i}function eI(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Va(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function G5(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Xu(t.file,lt.write(e,{type:$e?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return lt.write(e,t)}function tI(e,t){var r=Yr(t||{}),n=Wj(e,r);return rI(n,r)}function rI(e,t){var r={},n=$e?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?lt.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(Z0(a))}return t.password&&typeof encrypt_agile<"u"?G5(encrypt_agile(a,t.password),t):t.type==="file"?Xu(t.file,a):t.type=="string"?qo(a):a}function nI(e,t){var r=t||{},n=yj(e,r);return G5(n,r)}function Qn(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return wu(bu(n));case"binary":return bu(n);case"string":return e;case"file":return Xu(t.file,n,"utf8");case"buffer":return $e?Ya(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):Qn(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function aI(e,t){switch(t.type){case"base64":return wu(e);case"binary":return e;case"string":return e;case"file":return Xu(t.file,e,"binary");case"buffer":return $e?Ya(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function kc(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return t.type=="base64"?wu(r):t.type=="string"?qo(r):r;case"file":return Xu(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function iI(e,t){NM(),VU(e);var r=Yr(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=iI(e,r);return r.type="array",Z0(n)}var a=0;if(r.sheet&&(typeof r.sheet=="number"?a=r.sheet:a=e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return Qn(gj(e,r),r);case"slk":case"sylk":return Qn(jL.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return Qn(j5(e.Sheets[e.SheetNames[a]],r),r);case"txt":return aI($5(e.Sheets[e.SheetNames[a]],r),r);case"csv":return Qn(Uv(e.Sheets[e.SheetNames[a]],r),r,"\uFEFF");case"dif":return Qn(IL.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return kc(UL.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return Qn(HL.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return Qn(KL.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return Qn(p5.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return Qn(V5(e,r),r);case"wk1":return kc(aE.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return kc(aE.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),kc(U5(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),nI(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return tI(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function lI(e,t,r,n,a,i,l,s){var o=Er(r),u=s.defval,c=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch{h.__rowNum__=r}else h.__rowNum__=r;if(!l||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=l?e[r][d]:e[n[d]+o];if(p===void 0||p.t===void 0){if(u===void 0)continue;i[d]!=null&&(h[i[d]]=u);continue}var m=p.v;switch(p.t){case"z":if(m==null)break;continue;case"e":m=m==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(i[d]!=null){if(m==null)if(p.t=="e"&&m===null)h[i[d]]=null;else if(u!==void 0)h[i[d]]=u;else if(c&&m===null)h[i[d]]=null;else continue;else h[i[d]]=c&&(p.t!=="n"||p.t==="n"&&s.rawNumbers!==!1)?m:Ga(p,m,s);m!=null&&(f=!1)}}return{row:h,isempty:f}}function u0(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,i=[],l=0,s="",o={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},c=u.range!=null?u.range:e["!ref"];switch(u.header===1?n=1:u.header==="A"?n=2:Array.isArray(u.header)?n=3:u.header==null&&(n=0),typeof c){case"string":o=gt(c);break;case"number":o=gt(e["!ref"]),o.s.r=c;break;default:o=c}n>0&&(a=0);var f=Er(o.s.r),h=[],d=[],p=0,m=0,y=Array.isArray(e),v=o.s.r,g=0,x={};y&&!e[v]&&(e[v]=[]);var _=u.skipHidden&&e["!cols"]||[],w=u.skipHidden&&e["!rows"]||[];for(g=o.s.c;g<=o.e.c;++g)if(!(_[g]||{}).hidden)switch(h[g]=Tr(g),r=y?e[v][g]:e[h[g]+f],n){case 1:i[g]=g-o.s.c;break;case 2:i[g]=h[g];break;case 3:i[g]=u.header[g-o.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),s=l=Ga(r,null,u),m=x[l]||0,!m)x[l]=1;else{do s=l+"_"+m++;while(x[s]);x[l]=m,x[s]=1}i[g]=s}for(v=o.s.r+a;v<=o.e.r;++v)if(!(w[v]||{}).hidden){var T=lI(e,o,v,h,n,i,y,u);(T.isempty===!1||(n===1?u.blankrows!==!1:u.blankrows))&&(d[p++]=T.row)}return d.length=p,d}var hE=/"/g;function sI(e,t,r,n,a,i,l,s){for(var o=!0,u=[],c="",f=Er(r),h=t.s.c;h<=t.e.c;++h)if(n[h]){var d=s.dense?(e[r]||[])[h]:e[n[h]+f];if(d==null)c="";else if(d.v!=null){o=!1,c=""+(s.rawNumbers&&d.t=="n"?d.v:Ga(d,null,s));for(var p=0,m=0;p!==c.length;++p)if((m=c.charCodeAt(p))===a||m===i||m===34||s.forceQuotes){c='"'+c.replace(hE,'""')+'"';break}c=="ID"&&(c='"ID"')}else d.f!=null&&!d.F?(o=!1,c="="+d.f,c.indexOf(",")>=0&&(c='"'+c.replace(hE,'""')+'"')):c="";u.push(c)}return s.blankrows===!1&&o?null:u.join(l)}function Uv(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=gt(e["!ref"]),i=n.FS!==void 0?n.FS:",",l=i.charCodeAt(0),s=n.RS!==void 0?n.RS:`
`,o=s.charCodeAt(0),u=new RegExp((i=="|"?"\\|":i)+"+$"),c="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Tr(p));for(var m=0,y=a.s.r;y<=a.e.r;++y)(d[y]||{}).hidden||(c=sI(e,a,y,f,l,o,i,n),c!=null&&(n.strip&&(c=c.replace(u,"")),(c||n.blankrows!==!1)&&r.push((m++?s:"")+c)));return delete n.dense,r.join("")}function $5(e,t){t||(t={}),t.FS="	",t.RS=`
`;var r=Uv(e,t);return r}function oI(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=gt(e["!ref"]),i="",l=[],s,o=[],u=Array.isArray(e);for(s=a.s.c;s<=a.e.c;++s)l[s]=Tr(s);for(var c=a.s.r;c<=a.e.r;++c)for(i=Er(c),s=a.s.c;s<=a.e.c;++s)if(t=l[s]+i,r=u?(e[c]||[])[s]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}o[o.length]=t+"="+n}return o}function X5(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},l=0,s=0;if(i&&n.origin!=null)if(typeof n.origin=="number")l=n.origin;else{var o=typeof n.origin=="string"?ir(n.origin):n.origin;l=o.r,s=o.c}var u,c={s:{c:0,r:0},e:{c:s,r:l+t.length-1+a}};if(i["!ref"]){var f=gt(i["!ref"]);c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),l==-1&&(l=f.e.r+1,c.e.r=l+t.length-1+a)}else l==-1&&(l=0,c.e.r=t.length-1+a);var h=n.header||[],d=0;t.forEach(function(m,y){wr(m).forEach(function(v){(d=h.indexOf(v))==-1&&(h[d=h.length]=v);var g=m[v],x="z",_="",w=rt({c:s+d,r:l+y+a});u=Au(i,w),g&&typeof g=="object"&&!(g instanceof Date)?i[w]=g:(typeof g=="number"?x="n":typeof g=="boolean"?x="b":typeof g=="string"?x="s":g instanceof Date?(x="d",n.cellDates||(x="n",g=Xr(g)),_=n.dateNF||Ot[14]):g===null&&n.nullError&&(x="e",g=0),u?(u.t=x,u.v=g,delete u.w,delete u.R,_&&(u.z=_)):i[w]=u={t:x,v:g},_&&(u.z=_))})}),c.e.c=Math.max(c.e.c,s+h.length-1);var p=Er(l);if(a)for(d=0;d<h.length;++d)i[Tr(d+s)+p]={t:"s",v:h[d]};return i["!ref"]=Gt(c),i}function uI(e,t){return X5(null,e,t)}function Au(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=ir(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?Au(e,rt(t)):Au(e,rt({r:t,c:r||0}))}function cI(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function fI(){return{SheetNames:[],Sheets:{}}}function hI(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var l=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=l+a)!=-1;++a);}if(B5(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function dI(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=cI(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function pI(e,t){return e.z=t,e}function Y5(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function mI(e,t,r){return Y5(e,"#"+t,r)}function vI(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function gI(e,t,r,n){for(var a=typeof t!="string"?t:gt(t),i=typeof t=="string"?t:Gt(t),l=a.s.r;l<=a.e.r;++l)for(var s=a.s.c;s<=a.e.c;++s){var o=Au(e,l,s);o.t="n",o.F=i,delete o.v,l==a.s.r&&s==a.s.c&&(o.f=r,n&&(o.D=!0))}return e}var cV={encode_col:Tr,encode_row:Er,encode_cell:rt,encode_range:Gt,decode_col:Ov,decode_row:Av,split_cell:Nk,decode_cell:ir,decode_range:gn,format_cell:Ga,sheet_add_aoa:qb,sheet_add_json:X5,sheet_add_dom:I5,aoa_to_sheet:Ws,json_to_sheet:uI,table_to_sheet:H5,table_to_book:Ij,sheet_to_csv:Uv,sheet_to_txt:$5,sheet_to_json:u0,sheet_to_html:j5,sheet_to_formulae:oI,sheet_to_row_object_array:u0,sheet_get_cell:Au,book_new:fI,book_append_sheet:hI,book_set_sheet_visibility:dI,cell_set_number_format:pI,cell_set_hyperlink:Y5,cell_set_internal_link:mI,cell_add_comment:vI,sheet_set_array_formula:gI,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const Lp=0,Bp=1,c0=2,f0=3,h0=4,xI=5,q5=6,yI=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],_I=e=>({_s:e,status:yI[e],isEnter:e<f0,isMounted:e!==q5,isResolved:e===c0||e>h0}),Pp=e=>e?q5:xI,EI=(e,t)=>{switch(e){case Bp:case Lp:return c0;case h0:case f0:return Pp(t)}},wI=e=>typeof e=="object"?[e.enter,e.exit]:[e,e],SI=(e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0),dd=(e,t,r,n,a,i)=>{clearTimeout(a);const l=_I(t),s=new Map(n.current);s.set(e,l),r(s),n.current=s,i&&i({key:e,current:l})},bI=({allowMultiple:e,enter:t=!0,exit:r=!0,preEnter:n,preExit:a,timeout:i,initialEntered:l,mountOnEnter:s,unmountOnExit:o,onStateChange:u}={})=>{const[c,f]=b.useState(new Map),h=b.useRef(c),d=b.useRef(new Map),[p,m]=wI(i),y=b.useCallback((w,T)=>{const{initialEntered:E=l}=T||{},O=E?c0:Pp(s);dd(w,O,f,h),d.current.set(w,{})},[l,s]),v=b.useCallback(w=>{const T=new Map(h.current);return T.delete(w)?(f(T),h.current=T,d.current.delete(w),!0):!1},[]),g=b.useCallback(w=>{const T=h.current.get(w);if(!T)return;const{timeoutId:E}=d.current.get(w),O=EI(T._s,o);O&&dd(w,O,f,h,E,u)},[u,o]),x=b.useCallback((w,T)=>{const E=h.current.get(w);if(!E)return;const O=d.current.get(w),F=z=>{switch(dd(w,z,f,h,O.timeoutId,u),z){case Bp:p>=0&&(O.timeoutId=setTimeout(()=>g(w),p));break;case h0:m>=0&&(O.timeoutId=setTimeout(()=>g(w),m));break;case Lp:case f0:O.timeoutId=SI(F,z);break}},R=E.isEnter;typeof T!="boolean"&&(T=!R),T?R||(F(t?n?Lp:Bp:c0),!e&&h.current.forEach((z,j)=>j!==w&&x(j,!1))):R&&F(r?a?f0:h0:Pp(o))},[u,g,e,t,r,n,a,p,m,o]),_=b.useCallback(w=>{if(!(!e&&w!==!1))for(const T of h.current.keys())x(T,w)},[e,x]);return{stateMap:c,toggle:x,toggleAll:_,endTransition:g,setItem:y,deleteItem:v}},Lc=(e,t)=>e===!0||!!(e&&e[t]),fV=({transition:e,transitionTimeout:t,...r}={})=>{const n=bI({timeout:t,enter:Lc(e,"enter"),exit:Lc(e,"exit"),preEnter:Lc(e,"preEnter"),preExit:Lc(e,"preExit"),...r});return{mountOnEnter:!!r.mountOnEnter,initialEntered:!!r.initialEntered,...n}},Wl="szh-accordion",jv="szh-adn",K5=`data-${jv}`,zp=`data-${jv}-btn`,Z5=b.createContext({}),Ql=(e,t,r)=>(n,a)=>{const i=t?`${e}__${t}`:e;let l=i;r&&Object.keys(r).forEach(o=>{const u=r[o];u&&(l+=` ${i}--${u===!0?o:`${o}-${u}`}`)});let s=typeof n=="function"?n(a):n;return typeof s=="string"&&(s=s.trim(),s&&(l+=` ${s}`)),l},Up=(e,t)=>{if(!t)return e;const r={...e};return Object.keys(t).forEach(n=>{const a=e[n],i=t[n];typeof i=="function"&&a?r[n]=(...l)=>{a(...l),i(...l)}:r[n]=i}),r},TI=e=>Jn.jsx(Z5.Provider,{...e}),pd=e=>{do e=e.parentElement;while(e&&!e.hasAttribute(K5));return e},dE=(e,t,r)=>e?t>0?t-1:r-1:(t+1)%r,pE=(e,t)=>{const{activeElement:r}=document;if(!r||!r.hasAttribute(zp)||pd(r)!==t.currentTarget)return;const n=t.currentTarget.querySelectorAll(`[${zp}]`),{length:a}=n;for(let i=0;i<a;i++)if(n[i]===r){let l=dE(e,i,a);for(;pd(n[i])!==pd(n[l]);)l=dE(e,l,a);i!==l&&(t.preventDefault(),n[l].focus());break}},FI=()=>({accordionProps:{[K5]:"",onKeyDown:t=>t.key==="ArrowUp"?pE(!0,t):t.key==="ArrowDown"&&pE(!1,t)}}),AI=b.forwardRef(({providerValue:e,className:t,...r},n)=>{const{accordionProps:a}=FI();return Jn.jsx(TI,{value:e,children:Jn.jsx("div",{...Up(a,r),ref:n,className:Ql(Wl)(t)})})});AI.displayName="ControlledAccordion";let OI=0;const CI=()=>{const[e,t]=b.useState();return b.useEffect(()=>t(++OI),[]),e&&`${jv}-${e}`},RI=P.useId||CI,DI=({state:e,toggle:t,disabled:r})=>{const n=RI(),a=n&&n+"-",i={id:n,"aria-controls":a,"aria-expanded":e.isEnter,onClick:t};return r?i.disabled=!0:i[zp]="",{buttonProps:i,panelProps:{id:a,"aria-labelledby":n,role:"region"}}},NI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?b.useLayoutEffect:b.useEffect,MI=({status:e,isResolved:t})=>{const[r,n]=b.useState(),a=b.useRef(null);return NI(()=>{(e==="preEnter"||e==="preExit")&&n(a.current.getBoundingClientRect().height)},[e]),[{height:e==="preEnter"||e==="exiting"?0:e==="entering"||e==="preExit"?r:void 0,overflow:t?void 0:"hidden"},a]};function mE(e,t){typeof e=="function"?e(t):e.current=t}function vE(e,t){return b.useMemo(()=>e?t?r=>{mE(e,r),mE(t,r)}:e:t,[e,t])}const kI=(e,t,r)=>{const{stateMap:n,mountOnEnter:a,initialEntered:i}=e,l=r??i;return n.get(t)||{status:l?"entered":a?"unmounted":"exited",isMounted:!a,isEnter:l,isResolved:!0}},LI=()=>b.useContext(Z5),BI=({itemKey:e,initialEntered:t,disabled:r}={})=>{const n=b.useRef(null),a=LI(),i=e??n.current,l=kI(a,i,t),{setItem:s,deleteItem:o,toggle:u}=a;return b.useEffect(()=>{if(r)return;const c=e??n.current;return s(c,{initialEntered:t}),()=>void o(c)},[s,o,e,t,r]),{itemRef:n,state:l,toggle:b.useCallback(c=>u(i,c),[u,i])}},PI=e=>{const t=b.forwardRef(({itemKey:r,initialEntered:n,...a},i)=>Jn.jsx(e,{forwardedRef:i,...a,...BI({itemKey:r,initialEntered:n,disabled:a.disabled})}));return t.displayName="WithAccordionItem",t},gE=(e,t)=>typeof e=="function"?e(t):e,W5=b.memo(({forwardedRef:e,itemRef:t,state:r,toggle:n,className:a,disabled:i,header:l,headingTag:s="h3",headingProps:o,buttonProps:u,contentProps:c,panelProps:f,children:h,...d})=>{const p={state:r,toggle:n,disabled:i},{buttonProps:m,panelProps:y}=DI(p),[v,g]=MI(r),x=vE(f?.ref,g),{status:_,isMounted:w,isEnter:T}=r;return Jn.jsxs("div",{...d,ref:vE(e,t),className:Ql(Wl,"item",{status:_,expanded:T})(a,r),children:[Jn.jsx(s,{...o,style:{margin:0,...o?.style},className:Ql(Wl,"item-heading")(o?.className,r),children:Jn.jsx("button",{...Up(m,u),type:"button",className:Ql(Wl,"item-btn")(u?.className,r),children:gE(l,p)})}),w&&Jn.jsx("div",{...c,style:{display:_==="exited"?"none":void 0,...v,...c?.style},className:Ql(Wl,"item-content")(c?.className,r),children:Jn.jsx("div",{...Up(y,f),ref:x,className:Ql(Wl,"item-panel")(f?.className,r),children:gE(h,p)})})]})});W5.displayName="AccordionItem";const hV=PI(W5);let Hr;const Ta=new Array(128).fill(void 0);Ta.push(void 0,null,!0,!1);function wa(e){return Ta[e]}let Jo=Ta.length;function zI(e){e<132||(Ta[e]=Jo,Jo=e)}function Q5(e){const t=wa(e);return zI(e),t}const J5=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&J5.decode();let Co=null;function Jc(){return(Co===null||Co.byteLength===0)&&(Co=new Uint8Array(Hr.memory.buffer)),Co}function xE(e,t){return e=e>>>0,J5.decode(Jc().subarray(e,e+t))}function _a(e){Jo===Ta.length&&Ta.push(Ta.length+1);const t=Jo;return Jo=Ta[t],Ta[t]=e,t}function dV(){Hr.dinit()}let d0=0;const ef=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},UI=typeof ef.encodeInto=="function"?function(e,t){return ef.encodeInto(e,t)}:function(e,t){const r=ef.encode(e);return t.set(r),{read:e.length,written:r.length}};function eT(e,t,r){if(r===void 0){const s=ef.encode(e),o=t(s.length,1)>>>0;return Jc().subarray(o,o+s.length).set(s),d0=s.length,o}let n=e.length,a=t(n,1)>>>0;const i=Jc();let l=0;for(;l<n;l++){const s=e.charCodeAt(l);if(s>127)break;i[a+l]=s}if(l!==n){l!==0&&(e=e.slice(l)),a=r(a,n,n=l+e.length*3,1)>>>0;const s=Jc().subarray(a+l,a+n),o=UI(e,s);l+=o.written}return d0=l,a}function pV(e){const t=eT(e,Hr.__wbindgen_malloc,Hr.__wbindgen_realloc),r=d0,n=Hr.ddecode(t,r);return Q5(n)}let Ro=null;function yE(){return(Ro===null||Ro.byteLength===0)&&(Ro=new Int32Array(Hr.memory.buffer)),Ro}async function jI(e,t){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,t)}catch(n){if(e.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n);else throw n}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}function II(){const e={};return e.wbg={},e.wbg.__wbindgen_object_drop_ref=function(t){Q5(t)},e.wbg.__wbg_buffer_a448f833075b71ba=function(t){const r=wa(t).buffer;return _a(r)},e.wbg.__wbg_newwithbyteoffsetandlength_c370f7b5f8986669=function(t,r,n){const a=new Int16Array(wa(t),r>>>0,n>>>0);return _a(a)},e.wbg.__wbg_new_2465fea8e7ec22cf=function(t){const r=new Int16Array(wa(t));return _a(r)},e.wbg.__wbg_newwithbyteoffsetandlength_d0482f893617af71=function(t,r,n){const a=new Uint8Array(wa(t),r>>>0,n>>>0);return _a(a)},e.wbg.__wbg_new_8f67e318f15d7254=function(t){const r=new Uint8Array(wa(t));return _a(r)},e.wbg.__wbg_buffer_4d4053adf2cb1090=function(t){const r=wa(t).buffer;return _a(r)},e.wbg.__wbg_buffer_261f267c3396c59b=function(t){const r=wa(t).buffer;return _a(r)},e.wbg.__wbg_new_abda76e883ba8a5f=function(){const t=new Error;return _a(t)},e.wbg.__wbg_stack_658279fe44541cf6=function(t,r){const n=wa(r).stack,a=eT(n,Hr.__wbindgen_malloc,Hr.__wbindgen_realloc),i=d0;yE()[t/4+1]=i,yE()[t/4+0]=a},e.wbg.__wbg_error_f851667af71bcfc6=function(t,r){let n,a;try{n=t,a=r,console.error(xE(t,r))}finally{Hr.__wbindgen_free(n,a,1)}},e.wbg.__wbindgen_throw=function(t,r){throw new Error(xE(t,r))},e.wbg.__wbindgen_memory=function(){const t=Hr.memory;return _a(t)},e}function HI(e,t){return Hr=e.exports,VI.__wbindgen_wasm_module=t,Ro=null,Co=null,Hr}async function VI(e){if(Hr!==void 0)return Hr;typeof e>"u"&&(e=new URL("/static/assets/dcompress_web_bg-Boe0Q2dO.wasm",import.meta.url));const t=II();(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:n}=await jI(await e,t);return HI(r,n)}export{$H as $,CH as A,Hu as B,qp as C,Yp as D,JT as E,YI as F,ZI as G,KI as H,jH as I,IH as J,HH as K,HO as L,e6 as M,$T as N,$I as O,Kg as P,dR as Q,H6 as R,eV as S,wH as T,s6 as U,XC as V,JH as W,Br as X,aD as Y,H9 as Z,ZT as _,ZH as a,kH as a0,VH as a1,PH as a2,LH as a3,FH as a4,TH as a5,NH as a6,Xp as a7,dH as a8,yH as a9,EH as aA,cV as aB,iI as aC,uV as aD,rH as aE,uH as aF,mH as aG,n6 as aH,fV as aI,AI as aJ,hV as aK,GH as aL,VI as aM,dV as aN,pV as aO,fH as aP,cH as aQ,lH as aR,pH as aS,P as aT,GI as aU,qI as aV,QI as aW,gH as aX,nH as aa,e2 as ab,WT as ac,vH as ad,JI as ae,nV as af,ll as ag,eH as ah,WI as ai,hH as aj,tH as ak,aV as al,sV as am,oV as an,iV as ao,lV as ap,aH as aq,iH as ar,_H as as,sH as at,oH as au,BC as av,KH as aw,W6 as ax,xH as ay,bH as az,WH as b,MH as c,YH as d,tV as e,rV as f,QH as g,XI as h,HC as i,Jn as j,q3 as k,a6 as l,UH as m,j6 as n,qH as o,zH as p,N6 as q,b as r,an as s,QT as t,XH as u,OH as v,RH as w,SH as x,AH as y,BH as z};
//# sourceMappingURL=vendor-BTunnNwh.js.map
